Home
last modified time | relevance | path

Searched refs:max_lds_size (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/amd/common/
Dac_rtld.c298 unsigned max_lds_size = 64 * 1024; in ac_rtld_open() local
302 max_lds_size = 32 * 1024; in ac_rtld_open()
308 if (shared_lds_size > max_lds_size) { in ac_rtld_open()
310 (unsigned)shared_lds_size, max_lds_size); in ac_rtld_open()
415 if (binary->lds_size > max_lds_size) { in ac_rtld_open()
417 (unsigned)binary->lds_size, max_lds_size); in ac_rtld_open()
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c1812 const unsigned max_lds_size = 8 * 1024; in gfx9_get_gs_info() local
1854 if (esgs_lds_size > max_lds_size) { in gfx9_get_gs_info()
1859 gs_prims = MIN2((max_lds_size / (esgs_itemsize * min_es_verts)), in gfx9_get_gs_info()
1866 assert(esgs_lds_size <= max_lds_size); in gfx9_get_gs_info()
1968 const unsigned max_lds_size = 8 * 1024 - 768; in gfx10_get_ngg_info() local
1969 const unsigned target_lds_size = max_lds_size; in gfx10_get_ngg_info()
2083 (max_lds_size - max_gsprims * gsprim_lds_size) / in gfx10_get_ngg_info()
2100 MIN2(max_gsprims, (max_lds_size - usable_esverts * esvert_lds_size) / gsprim_lds_size); in gfx10_get_ngg_info()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c1932 const unsigned max_lds_size = 8 * 1024 - gfx10_ngg_get_scratch_dw_size(shader); in gfx10_ngg_calculate_subgroup_info() local
1933 const unsigned target_lds_size = max_lds_size; in gfx10_ngg_calculate_subgroup_info()
2038 MIN2(max_esverts, (max_lds_size - max_gsprims * gsprim_lds_size) / esvert_lds_size); in gfx10_ngg_calculate_subgroup_info()
2052 … MIN2(max_gsprims, (max_lds_size - usable_esverts * esvert_lds_size) / gsprim_lds_size); in gfx10_ngg_calculate_subgroup_info()
Dsi_state_shaders.c641 const unsigned max_lds_size = 8 * 1024; in gfx9_get_gs_info() local
682 if (esgs_lds_size > max_lds_size) { 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()
692 assert(esgs_lds_size <= max_lds_size); in gfx9_get_gs_info()