Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c1926 const unsigned max_verts_per_prim = u_vertices_per_prim(input_prim); in gfx10_ngg_calculate_subgroup_info() local
1927 const unsigned min_verts_per_prim = gs_stage == MESA_SHADER_GEOMETRY ? max_verts_per_prim : 1; in gfx10_ngg_calculate_subgroup_info()
1959 max_esverts_base = MIN2(max_esverts_base, 251 + max_verts_per_prim - 1); in gfx10_ngg_calculate_subgroup_info()
2002 max_esverts = MIN2(max_esverts, max_gsprims * max_verts_per_prim); in gfx10_ngg_calculate_subgroup_info()
2004 assert(max_esverts >= max_verts_per_prim && max_gsprims >= 1); in gfx10_ngg_calculate_subgroup_info()
2019 max_esverts = MIN2(max_esverts, max_gsprims * max_verts_per_prim); in gfx10_ngg_calculate_subgroup_info()
2021 assert(max_esverts >= max_verts_per_prim && max_gsprims >= 1); in gfx10_ngg_calculate_subgroup_info()
2039 max_esverts = MIN2(max_esverts, max_gsprims * max_verts_per_prim); in gfx10_ngg_calculate_subgroup_info()
2041 max_esverts = MAX2(max_esverts, min_esverts - 1 + max_verts_per_prim); in gfx10_ngg_calculate_subgroup_info()
2050 unsigned usable_esverts = MIN2(max_esverts, max_gsprims * max_verts_per_prim); in gfx10_ngg_calculate_subgroup_info()
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c1943 unsigned max_verts_per_prim = radv_get_num_input_vertices(nir); in gfx10_get_ngg_info() local
1945 gs_type == MESA_SHADER_GEOMETRY ? max_verts_per_prim : 1; in gfx10_get_ngg_info()
1987 max_esverts_base = MIN2(max_esverts_base, 251 + max_verts_per_prim - 1); in gfx10_get_ngg_info()
2036 max_esverts = MIN2(max_esverts, max_gsprims * max_verts_per_prim); in gfx10_get_ngg_info()
2038 assert(max_esverts >= max_verts_per_prim && max_gsprims >= 1); in gfx10_get_ngg_info()
2054 max_esverts = MIN2(max_esverts, max_gsprims * max_verts_per_prim); in gfx10_get_ngg_info()
2057 assert(max_esverts >= max_verts_per_prim && max_gsprims >= 1); 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()
[all …]