Home
last modified time | relevance | path

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

/third_party/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()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c2368 const unsigned max_lds_size = 8 * 1024 - gfx10_ngg_get_scratch_dw_size(shader); in gfx10_ngg_calculate_subgroup_info() local
2369 const unsigned target_lds_size = max_lds_size; in gfx10_ngg_calculate_subgroup_info()
2457 MIN2(max_esverts, (max_lds_size - max_gsprims * gsprim_lds_size) / esvert_lds_size); in gfx10_ngg_calculate_subgroup_info()
2472 … MIN2(max_gsprims, (max_lds_size - usable_esverts * esvert_lds_size) / gsprim_lds_size); in gfx10_ngg_calculate_subgroup_info()
Dsi_state_shaders.cpp845 const unsigned max_lds_size = 8 * 1024; in gfx9_get_gs_info() local
886 if (esgs_lds_size > max_lds_size) { 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()
896 assert(esgs_lds_size <= max_lds_size); in gfx9_get_gs_info()
Dsi_state_draw.cpp719 ASSERTED unsigned max_lds_size = 32 * 1024; /* hw limit */ in si_emit_derived_tess_state() local
723 assert(*num_patches * lds_per_patch <= max_lds_size); in si_emit_derived_tess_state()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline.c2299 const unsigned max_lds_size = 8 * 1024; in gfx9_get_gs_info() local
2340 if (esgs_lds_size > max_lds_size) { 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()
2350 assert(esgs_lds_size <= max_lds_size); in gfx9_get_gs_info()
2517 const unsigned max_lds_size = 8 * 1024 - 768; in gfx10_get_ngg_info() local
2518 const unsigned target_lds_size = max_lds_size; in gfx10_get_ngg_info()
2626 MIN2(max_esverts, (max_lds_size - max_gsprims * gsprim_lds_size) / esvert_lds_size); in gfx10_get_ngg_info()
2646 (max_lds_size - usable_esverts * esvert_lds_size) / gsprim_lds_size); in gfx10_get_ngg_info()
/third_party/mesa3d/docs/relnotes/
D21.0.0.rst2153 - radeonsi: fix max_lds_size warning in release builds