Searched refs:gs_prims (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_shaders.c | 649 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/ |
D | radv_pipeline.c | 1820 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()
|