Searched refs:gs_prims (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_shaders.cpp | 853 unsigned max_gs_prims, gs_prims; in gfx9_get_gs_info() local 875 gs_prims = MIN2(ideal_gs_prims, max_gs_prims); in gfx9_get_gs_info() 876 worst_case_es_verts = MIN2(min_es_verts * gs_prims, max_es_verts); in gfx9_get_gs_info() 891 gs_prims = MIN2((max_lds_size / (esgs_itemsize * min_es_verts)), max_gs_prims); in gfx9_get_gs_info() 892 assert(gs_prims > 0); in gfx9_get_gs_info() 893 worst_case_es_verts = MIN2(min_es_verts * gs_prims, max_es_verts); in gfx9_get_gs_info() 919 out->gs_prims_per_subgroup = gs_prims; in gfx9_get_gs_info() 920 out->gs_inst_prims_in_subgroup = gs_prims * gs_num_invocations; in gfx9_get_gs_info()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_pipeline.c | 2307 unsigned max_gs_prims, gs_prims; in gfx9_get_gs_info() local 2329 gs_prims = MIN2(ideal_gs_prims, max_gs_prims); in gfx9_get_gs_info() 2330 worst_case_es_verts = MIN2(min_es_verts * gs_prims, max_es_verts); in gfx9_get_gs_info() 2345 gs_prims = MIN2((max_lds_size / (esgs_itemsize * min_es_verts)), max_gs_prims); in gfx9_get_gs_info() 2346 assert(gs_prims > 0); in gfx9_get_gs_info() 2347 worst_case_es_verts = MIN2(min_es_verts * gs_prims, max_es_verts); in gfx9_get_gs_info() 2373 uint32_t gs_prims_per_subgroup = gs_prims; in gfx9_get_gs_info() 2374 uint32_t gs_inst_prims_in_subgroup = gs_prims * gs_num_invocations; in gfx9_get_gs_info()
|