Searched refs:max_esverts (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | gfx10_shader_ngg.c | 1971 static void clamp_gsprims_to_esverts(unsigned *max_gsprims, unsigned max_esverts, in clamp_gsprims_to_esverts() argument 1974 unsigned max_reuse = max_esverts - min_verts_per_prim; in clamp_gsprims_to_esverts() 2057 unsigned max_esverts = max_esverts_base; in gfx10_ngg_calculate_subgroup_info() local 2060 max_esverts = MIN2(max_esverts, target_lds_size / esvert_lds_size); in gfx10_ngg_calculate_subgroup_info() 2064 max_esverts = MIN2(max_esverts, max_gsprims * max_verts_per_prim); in gfx10_ngg_calculate_subgroup_info() 2065 clamp_gsprims_to_esverts(&max_gsprims, max_esverts, min_verts_per_prim, use_adjacency); in gfx10_ngg_calculate_subgroup_info() 2066 assert(max_esverts >= max_verts_per_prim && max_gsprims >= 1); 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() 2078 max_esverts = max_esverts * target_lds_size / lds_total; in gfx10_ngg_calculate_subgroup_info() 2081 max_esverts = MIN2(max_esverts, max_gsprims * max_verts_per_prim); in gfx10_ngg_calculate_subgroup_info() [all …]
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_pipeline.c | 1949 clamp_gsprims_to_esverts(unsigned *max_gsprims, unsigned max_esverts, unsigned min_verts_per_prim, in clamp_gsprims_to_esverts() argument 1952 unsigned max_reuse = max_esverts - min_verts_per_prim; in clamp_gsprims_to_esverts() 2079 unsigned max_esverts = max_esverts_base; in gfx10_get_ngg_info() local 2082 max_esverts = MIN2(max_esverts, target_lds_size / esvert_lds_size); in gfx10_get_ngg_info() 2086 max_esverts = MIN2(max_esverts, max_gsprims * max_verts_per_prim); in gfx10_get_ngg_info() 2087 clamp_gsprims_to_esverts(&max_gsprims, max_esverts, min_verts_per_prim, uses_adjacency); in gfx10_get_ngg_info() 2088 assert(max_esverts >= max_verts_per_prim && max_gsprims >= 1); in gfx10_get_ngg_info() 2098 unsigned lds_total = max_esverts * esvert_lds_size + max_gsprims * gsprim_lds_size; in gfx10_get_ngg_info() 2100 max_esverts = max_esverts * target_lds_size / lds_total; in gfx10_get_ngg_info() 2103 max_esverts = MIN2(max_esverts, max_gsprims * max_verts_per_prim); in gfx10_get_ngg_info() [all …]
|