Searched refs:max_esverts (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | gfx10_shader_ngg.c | 1891 static void clamp_gsprims_to_esverts(unsigned *max_gsprims, unsigned max_esverts, in clamp_gsprims_to_esverts() argument 1894 unsigned max_reuse = max_esverts - min_verts_per_prim; in clamp_gsprims_to_esverts() 1995 unsigned max_esverts = max_esverts_base; in gfx10_ngg_calculate_subgroup_info() local 1998 max_esverts = MIN2(max_esverts, target_lds_size / esvert_lds_size); in gfx10_ngg_calculate_subgroup_info() 2002 max_esverts = MIN2(max_esverts, max_gsprims * max_verts_per_prim); in gfx10_ngg_calculate_subgroup_info() 2003 clamp_gsprims_to_esverts(&max_gsprims, max_esverts, min_verts_per_prim, use_adjacency); in gfx10_ngg_calculate_subgroup_info() 2004 assert(max_esverts >= max_verts_per_prim && max_gsprims >= 1); 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() 2016 max_esverts = max_esverts * target_lds_size / lds_total; in gfx10_ngg_calculate_subgroup_info() 2019 max_esverts = MIN2(max_esverts, max_gsprims * max_verts_per_prim); in gfx10_ngg_calculate_subgroup_info() [all …]
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_pipeline.c | 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() [all …]
|
/external/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection_setup.cpp | 1140 uint32_t max_esverts = ngg_info.hw_max_esverts; in setup_isel_context() local 1148 program->workgroup_size = MAX4(max_esverts, max_gs_input_prims, max_out_vtx, max_out_prm); in setup_isel_context()
|