Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c2014 unsigned esvert_lds_size = 0; in gfx10_ngg_calculate_subgroup_info() local
2041 esvert_lds_size = es_sel->esgs_itemsize / 4; in gfx10_ngg_calculate_subgroup_info()
2053 esvert_lds_size = ngg_nogs_vertex_size(shader); in gfx10_ngg_calculate_subgroup_info()
2059 if (esvert_lds_size) in gfx10_ngg_calculate_subgroup_info()
2060 max_esverts = MIN2(max_esverts, target_lds_size / esvert_lds_size); in gfx10_ngg_calculate_subgroup_info()
2068 if (esvert_lds_size || gsprim_lds_size) { in gfx10_ngg_calculate_subgroup_info()
2076 unsigned lds_total = max_esverts * esvert_lds_size + max_gsprims * gsprim_lds_size; in gfx10_ngg_calculate_subgroup_info()
2098 if (esvert_lds_size) in gfx10_ngg_calculate_subgroup_info()
2100 MIN2(max_esverts, (max_lds_size - max_gsprims * gsprim_lds_size) / esvert_lds_size); in gfx10_ngg_calculate_subgroup_info()
2118 … MIN2(max_gsprims, (max_lds_size - usable_esverts * esvert_lds_size) / gsprim_lds_size); in gfx10_ngg_calculate_subgroup_info()
[all …]
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline.c2022 unsigned esvert_lds_size = 0; in gfx10_get_ngg_info() local
2058 esvert_lds_size = es_info->esgs_itemsize / 4; in gfx10_get_ngg_info()
2068 esvert_lds_size = 4 * so_info->num_outputs + 1; in gfx10_get_ngg_info()
2075 esvert_lds_size = MAX2(esvert_lds_size, 1); in gfx10_get_ngg_info()
2081 if (esvert_lds_size) in gfx10_get_ngg_info()
2082 max_esverts = MIN2(max_esverts, target_lds_size / esvert_lds_size); in gfx10_get_ngg_info()
2090 if (esvert_lds_size || gsprim_lds_size) { in gfx10_get_ngg_info()
2098 unsigned lds_total = max_esverts * esvert_lds_size + max_gsprims * gsprim_lds_size; in gfx10_get_ngg_info()
2128 if (esvert_lds_size) in gfx10_get_ngg_info()
2130 MIN2(max_esverts, (max_lds_size - max_gsprims * gsprim_lds_size) / esvert_lds_size); in gfx10_get_ngg_info()
[all …]