Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c819 bool enable_prim_id = shader->key.mono.u.vs_export_prim_id || info->uses_primid; in si_shader_vs() local
836 if (enable_prim_id) in si_shader_vs()
840 si_pm4_set_reg(pm4, R_028A84_VGT_PRIMITIVEID_EN, enable_prim_id); in si_shader_vs()
865 vgpr_comp_cnt = enable_prim_id ? 2 : (shader->info.uses_instanceid ? 1 : 0); in si_shader_vs()
874 vgpr_comp_cnt = enable_prim_id ? 3 : 2; in si_shader_vs()