Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c1934 unsigned esvert_lds_size = 0; in gfx10_ngg_calculate_subgroup_info() local
1979 esvert_lds_size = es_sel->esgs_itemsize / 4; in gfx10_ngg_calculate_subgroup_info()
1991 esvert_lds_size = ngg_nogs_vertex_size(shader); in gfx10_ngg_calculate_subgroup_info()
1997 if (esvert_lds_size) in gfx10_ngg_calculate_subgroup_info()
1998 max_esverts = MIN2(max_esverts, target_lds_size / esvert_lds_size); in gfx10_ngg_calculate_subgroup_info()
2006 if (esvert_lds_size || gsprim_lds_size) { in gfx10_ngg_calculate_subgroup_info()
2014 unsigned lds_total = max_esverts * esvert_lds_size + max_gsprims * gsprim_lds_size; in gfx10_ngg_calculate_subgroup_info()
2036 if (esvert_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()
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c1970 unsigned esvert_lds_size = 0; in gfx10_get_ngg_info() local
2007 esvert_lds_size = es_info->esgs_itemsize / 4; in gfx10_get_ngg_info()
2017 esvert_lds_size = 4 * so_info->num_outputs + 1; in gfx10_get_ngg_info()
2025 esvert_lds_size = MAX2(esvert_lds_size, 1); in gfx10_get_ngg_info()
2031 if (esvert_lds_size) in gfx10_get_ngg_info()
2032 max_esverts = MIN2(max_esverts, target_lds_size / esvert_lds_size); in gfx10_get_ngg_info()
2040 if (esvert_lds_size || gsprim_lds_size) { in gfx10_get_ngg_info()
2048 unsigned lds_total = max_esverts * esvert_lds_size + in gfx10_get_ngg_info()
2081 if (esvert_lds_size) in gfx10_get_ngg_info()
2084 esvert_lds_size); in gfx10_get_ngg_info()
[all …]