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.c1038 unsigned gs_vgpr_comp_cnt, es_vgpr_comp_cnt; in radv_postprocess_config() local
1055 gs_vgpr_comp_cnt = 3; /* VGPR3 contains InvocationID. */ in radv_postprocess_config()
1057 gs_vgpr_comp_cnt = 2; /* VGPR2 contains PrimitiveID. */ in radv_postprocess_config()
1059 gs_vgpr_comp_cnt = 1; /* VGPR1 contains offsets 2, 3 */ in radv_postprocess_config()
1061 gs_vgpr_comp_cnt = 0; /* VGPR0 contains offsets 0, 1 */ in radv_postprocess_config()
1064 config_out->rsrc1 |= S_00B228_GS_VGPR_COMP_CNT(gs_vgpr_comp_cnt) | in radv_postprocess_config()
1072 unsigned gs_vgpr_comp_cnt, es_vgpr_comp_cnt; in radv_postprocess_config() local
1091 gs_vgpr_comp_cnt = 3; /* VGPR3 contains InvocationID. */ in radv_postprocess_config()
1093 gs_vgpr_comp_cnt = 2; /* VGPR2 contains PrimitiveID. */ in radv_postprocess_config()
1095 gs_vgpr_comp_cnt = 1; /* VGPR1 contains offsets 2, 3 */ in radv_postprocess_config()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c833 unsigned es_vgpr_comp_cnt, gs_vgpr_comp_cnt; in si_shader_gs() local
846 gs_vgpr_comp_cnt = 3; /* VGPR3 contains InvocationID. */ in si_shader_gs()
848 gs_vgpr_comp_cnt = 2; /* VGPR2 contains PrimitiveID. */ in si_shader_gs()
850 gs_vgpr_comp_cnt = 1; /* VGPR1 contains offsets 2, 3 */ in si_shader_gs()
852 gs_vgpr_comp_cnt = 0; /* VGPR0 contains offsets 0, 1 */ in si_shader_gs()
872 S_00B228_GS_VGPR_COMP_CNT(gs_vgpr_comp_cnt); in si_shader_gs()
1084 unsigned nparams, es_vgpr_comp_cnt, gs_vgpr_comp_cnt; in gfx10_shader_ngg() local
1133 gs_vgpr_comp_cnt = 3; /* VGPR3 contains InvocationID, edge flags. */ in gfx10_shader_ngg()
1136 gs_vgpr_comp_cnt = 2; /* VGPR2 contains PrimitiveID. */ in gfx10_shader_ngg()
1138 gs_vgpr_comp_cnt = 1; /* VGPR1 contains offsets 2, 3 */ in gfx10_shader_ngg()
[all …]