Searched refs:max_gsprims (Results 1 – 6 of 6) 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 1897 *max_gsprims = MIN2(*max_gsprims, 1 + max_reuse); in clamp_gsprims_to_esverts() 1994 unsigned max_gsprims = max_gsprims_base; in gfx10_ngg_calculate_subgroup_info() local 2000 max_gsprims = MIN2(max_gsprims, target_lds_size / gsprim_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() 2017 max_gsprims = max_gsprims * 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 …]
|
D | si_shader.h | 745 uint16_t max_gsprims; member
|
D | si_state_shaders.c | 1225 S_028A44_GS_PRIMS_PER_SUBGRP(shader->ngg.max_gsprims) | in gfx10_shader_ngg() 1226 S_028A44_GS_INST_PRIMS_IN_SUBGRP(shader->ngg.max_gsprims * gs_num_invocations); in gfx10_shader_ngg() 1264 shader->ge_cntl = S_03096C_PRIM_GRP_SIZE(shader->ngg.max_gsprims) | in gfx10_shader_ngg() 1265 S_03096C_VERT_GRP_SIZE(shader->ngg.max_gsprims * 3); in gfx10_shader_ngg() 1267 shader->ge_cntl = S_03096C_PRIM_GRP_SIZE(shader->ngg.max_gsprims) | in gfx10_shader_ngg() 1268 S_03096C_VERT_GRP_SIZE(shader->ngg.max_gsprims + 2); in gfx10_shader_ngg() 1270 shader->ge_cntl = S_03096C_PRIM_GRP_SIZE(shader->ngg.max_gsprims) | in gfx10_shader_ngg()
|
/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 1907 *max_gsprims = MIN2(*max_gsprims, 1 + max_reuse); in clamp_gsprims_to_esverts() 2028 unsigned max_gsprims = max_gsprims_base; in gfx10_get_ngg_info() local 2034 max_gsprims = MIN2(max_gsprims, target_lds_size / gsprim_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() 2049 max_gsprims * gsprim_lds_size; in gfx10_get_ngg_info() 2052 max_gsprims = max_gsprims * 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 …]
|
D | radv_shader.h | 233 uint32_t max_gsprims; member
|
/external/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection_setup.cpp | 1142 uint32_t max_gs_input_prims = ngg_info.max_gsprims * num_gs_invocations; in setup_isel_context() 1146 uint32_t max_out_prm = ngg_info.max_gsprims * num_gs_invocations * ngg_info.prim_amp_factor; in setup_isel_context()
|