Home
last modified time | relevance | path

Searched refs:enable_prim_id (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/amd/vulkan/
Dradv_shader.c938 bool enable_prim_id = info->tes.export_prim_id || info->uses_prim_id; in radv_postprocess_config() local
939 vgpr_comp_cnt = enable_prim_id ? 3 : 2; in radv_postprocess_config()
1047 bool enable_prim_id = info->tes.export_prim_id || info->uses_prim_id; in radv_postprocess_config() local
1048 es_vgpr_comp_cnt = enable_prim_id ? 3 : 2; in radv_postprocess_config()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c1377 bool enable_prim_id = shader->key.mono.u.vs_export_prim_id || info->uses_primid; in si_shader_vs() local
1396 if (enable_prim_id) in si_shader_vs()
1400 shader->ctx_reg.vs.vgt_primitiveid_en = enable_prim_id; in si_shader_vs()
1418 vgpr_comp_cnt = si_get_vs_vgpr_comp_cnt(sscreen, shader, enable_prim_id); in si_shader_vs()
1426 vgpr_comp_cnt = enable_prim_id ? 3 : 2; in si_shader_vs()