Searched refs:gs_prims (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/amd/vulkan/ |
D | radv_pipeline.c | 1220 unsigned max_gs_prims, gs_prims; in calculate_gfx9_gs_info() local 1243 gs_prims = MIN2(ideal_gs_prims, max_gs_prims); in calculate_gfx9_gs_info() 1244 worst_case_es_verts = MIN2(min_es_verts * gs_prims, max_es_verts); in calculate_gfx9_gs_info() 1259 gs_prims = MIN2((max_lds_size / (esgs_itemsize * min_es_verts)), in calculate_gfx9_gs_info() 1261 assert(gs_prims > 0); in calculate_gfx9_gs_info() 1262 worst_case_es_verts = MIN2(min_es_verts * gs_prims, in calculate_gfx9_gs_info() 1289 uint32_t gs_prims_per_subgroup = gs_prims; in calculate_gfx9_gs_info() 1290 uint32_t gs_inst_prims_in_subgroup = gs_prims * gs_num_invocations; in calculate_gfx9_gs_info()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_shaders.c | 604 unsigned max_gs_prims, gs_prims; in gfx9_get_gs_info() local 629 gs_prims = MIN2(ideal_gs_prims, max_gs_prims); in gfx9_get_gs_info() 630 worst_case_es_verts = MIN2(min_es_verts * gs_prims, max_es_verts); in gfx9_get_gs_info() 645 gs_prims = MIN2((max_lds_size / (esgs_itemsize * min_es_verts)), in gfx9_get_gs_info() 647 assert(gs_prims > 0); in gfx9_get_gs_info() 648 worst_case_es_verts = MIN2(min_es_verts * gs_prims, in gfx9_get_gs_info() 675 out->gs_prims_per_subgroup = gs_prims; in gfx9_get_gs_info() 676 out->gs_inst_prims_in_subgroup = gs_prims * gs_num_invocations; in gfx9_get_gs_info()
|