• Home
  • Raw
  • Download

Lines Matching refs:max_esverts

1901 static void clamp_gsprims_to_esverts(unsigned *max_gsprims, unsigned max_esverts,  in clamp_gsprims_to_esverts()  argument
1904 unsigned max_reuse = max_esverts - min_verts_per_prim; in clamp_gsprims_to_esverts()
2029 unsigned max_esverts = max_esverts_base; in gfx10_get_ngg_info() local
2032 max_esverts = MIN2(max_esverts, target_lds_size / esvert_lds_size); in gfx10_get_ngg_info()
2036 max_esverts = MIN2(max_esverts, max_gsprims * max_verts_per_prim); in gfx10_get_ngg_info()
2037 clamp_gsprims_to_esverts(&max_gsprims, max_esverts, min_verts_per_prim, uses_adjacency); in gfx10_get_ngg_info()
2038 assert(max_esverts >= max_verts_per_prim && max_gsprims >= 1); in gfx10_get_ngg_info()
2048 unsigned lds_total = max_esverts * esvert_lds_size + in gfx10_get_ngg_info()
2051 max_esverts = max_esverts * target_lds_size / lds_total; in gfx10_get_ngg_info()
2054 max_esverts = MIN2(max_esverts, max_gsprims * max_verts_per_prim); in gfx10_get_ngg_info()
2055 clamp_gsprims_to_esverts(&max_gsprims, max_esverts, in gfx10_get_ngg_info()
2057 assert(max_esverts >= max_verts_per_prim && max_gsprims >= 1); in gfx10_get_ngg_info()
2076 orig_max_esverts = max_esverts; in gfx10_get_ngg_info()
2079 max_esverts = align(max_esverts, wavesize); in gfx10_get_ngg_info()
2080 max_esverts = MIN2(max_esverts, max_esverts_base); in gfx10_get_ngg_info()
2082 max_esverts = MIN2(max_esverts, in gfx10_get_ngg_info()
2085 max_esverts = MIN2(max_esverts, max_gsprims * max_verts_per_prim); in gfx10_get_ngg_info()
2087 max_esverts = MAX2(max_esverts, min_esverts - 1 + max_verts_per_prim); in gfx10_get_ngg_info()
2098 unsigned usable_esverts = MIN2(max_esverts, max_gsprims * max_verts_per_prim); in gfx10_get_ngg_info()
2102 clamp_gsprims_to_esverts(&max_gsprims, max_esverts, in gfx10_get_ngg_info()
2104 assert(max_esverts >= max_verts_per_prim && max_gsprims >= 1); in gfx10_get_ngg_info()
2105 } while (orig_max_esverts != max_esverts || orig_max_gsprims != max_gsprims); in gfx10_get_ngg_info()
2108 assert(max_esverts >= min_esverts - 1 + max_verts_per_prim); in gfx10_get_ngg_info()
2111 max_esverts = MAX2(max_esverts, min_esverts - 1 + max_verts_per_prim); in gfx10_get_ngg_info()
2118 max_esverts; in gfx10_get_ngg_info()
2133 ngg->hw_max_esverts = max_esverts - max_verts_per_prim + 1; in gfx10_get_ngg_info()
2142 MIN2(max_esverts, max_gsprims * max_verts_per_prim) * esvert_lds_size * 4; in gfx10_get_ngg_info()