Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c1935 unsigned gsprim_lds_size = 0; in gfx10_ngg_calculate_subgroup_info() local
1980 gsprim_lds_size = (gs_sel->gsvs_vertex_size / 4 + 1) * max_out_verts_per_gsprim; in gfx10_ngg_calculate_subgroup_info()
1982 if (gsprim_lds_size > target_lds_size && !force_multi_cycling) { in gfx10_ngg_calculate_subgroup_info()
1999 if (gsprim_lds_size) in gfx10_ngg_calculate_subgroup_info()
2000 max_gsprims = MIN2(max_gsprims, target_lds_size / gsprim_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()
2038 MIN2(max_esverts, (max_lds_size - max_gsprims * gsprim_lds_size) / esvert_lds_size); in gfx10_ngg_calculate_subgroup_info()
2045 if (gsprim_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.c1971 unsigned gsprim_lds_size = 0; in gfx10_get_ngg_info() local
2008 gsprim_lds_size = (gs_info->gs.gsvs_vertex_size / 4 + 1) * max_out_verts_per_gsprim; in gfx10_get_ngg_info()
2033 if (gsprim_lds_size) in gfx10_get_ngg_info()
2034 max_gsprims = MIN2(max_gsprims, target_lds_size / gsprim_lds_size); in gfx10_get_ngg_info()
2040 if (esvert_lds_size || gsprim_lds_size) { in gfx10_get_ngg_info()
2049 max_gsprims * gsprim_lds_size; in gfx10_get_ngg_info()
2083 (max_lds_size - max_gsprims * gsprim_lds_size) / in gfx10_get_ngg_info()
2091 if (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()
2138 ngg->ngg_emit_size = max_gsprims * gsprim_lds_size; in gfx10_get_ngg_info()