Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/vulkan/
Dradv_shader.c426 unsigned gs_vgpr_comp_cnt, es_vgpr_comp_cnt; in radv_fill_shader_variant() local
440 gs_vgpr_comp_cnt = 3; /* VGPR3 contains InvocationID. */ in radv_fill_shader_variant()
442 gs_vgpr_comp_cnt = 2; /* VGPR2 contains PrimitiveID. */ in radv_fill_shader_variant()
444 gs_vgpr_comp_cnt = 1; /* VGPR1 contains offsets 2, 3 */ in radv_fill_shader_variant()
446 gs_vgpr_comp_cnt = 0; /* VGPR0 contains offsets 0, 1 */ in radv_fill_shader_variant()
448 variant->rsrc1 |= S_00B228_GS_VGPR_COMP_CNT(gs_vgpr_comp_cnt); in radv_fill_shader_variant()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c730 unsigned es_vgpr_comp_cnt, gs_vgpr_comp_cnt; in si_shader_gs() local
745 gs_vgpr_comp_cnt = 3; /* VGPR3 contains InvocationID. */ in si_shader_gs()
747 gs_vgpr_comp_cnt = 2; /* VGPR2 contains PrimitiveID. */ in si_shader_gs()
749 gs_vgpr_comp_cnt = 1; /* VGPR1 contains offsets 2, 3 */ in si_shader_gs()
751 gs_vgpr_comp_cnt = 0; /* VGPR0 contains offsets 0, 1 */ in si_shader_gs()
763 S_00B228_GS_VGPR_COMP_CNT(gs_vgpr_comp_cnt)); in si_shader_gs()