Searched refs:gsprim_lds_size (Results 1 – 2 of 2) sorted by relevance
1935 unsigned gsprim_lds_size = 0; in gfx10_ngg_calculate_subgroup_info() local1980 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 …]
1971 unsigned gsprim_lds_size = 0; in gfx10_get_ngg_info() local2008 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()