Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c649 unsigned max_gs_prims, gs_prims; in gfx9_get_gs_info() local
671 gs_prims = MIN2(ideal_gs_prims, max_gs_prims); in gfx9_get_gs_info()
672 worst_case_es_verts = MIN2(min_es_verts * gs_prims, max_es_verts); in gfx9_get_gs_info()
687 gs_prims = MIN2((max_lds_size / (esgs_itemsize * min_es_verts)), max_gs_prims); in gfx9_get_gs_info()
688 assert(gs_prims > 0); in gfx9_get_gs_info()
689 worst_case_es_verts = MIN2(min_es_verts * gs_prims, max_es_verts); in gfx9_get_gs_info()
715 out->gs_prims_per_subgroup = gs_prims; in gfx9_get_gs_info()
716 out->gs_inst_prims_in_subgroup = gs_prims * gs_num_invocations; in gfx9_get_gs_info()
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c1820 unsigned max_gs_prims, gs_prims; in gfx9_get_gs_info() local
1843 gs_prims = MIN2(ideal_gs_prims, max_gs_prims); in gfx9_get_gs_info()
1844 worst_case_es_verts = MIN2(min_es_verts * gs_prims, max_es_verts); in gfx9_get_gs_info()
1859 gs_prims = MIN2((max_lds_size / (esgs_itemsize * min_es_verts)), in gfx9_get_gs_info()
1861 assert(gs_prims > 0); in gfx9_get_gs_info()
1862 worst_case_es_verts = MIN2(min_es_verts * gs_prims, in gfx9_get_gs_info()
1889 uint32_t gs_prims_per_subgroup = gs_prims; in gfx9_get_gs_info()
1890 uint32_t gs_inst_prims_in_subgroup = gs_prims * gs_num_invocations; in gfx9_get_gs_info()