Searched refs:max_gsprims (Results 1 – 6 of 6) 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 1977 *max_gsprims = MIN2(*max_gsprims, 1 + max_reuse); in clamp_gsprims_to_esverts() 2056 unsigned max_gsprims = max_gsprims_base; in gfx10_ngg_calculate_subgroup_info() local 2062 max_gsprims = MIN2(max_gsprims, target_lds_size / gsprim_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() 2079 max_gsprims = max_gsprims * 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 …]
|
D | si_shader.h | 802 uint16_t max_gsprims; member
|
D | si_state_shaders.c | 1273 S_028A44_GS_PRIMS_PER_SUBGRP(shader->ngg.max_gsprims) | in gfx10_shader_ngg() 1274 S_028A44_GS_INST_PRIMS_IN_SUBGRP(shader->ngg.max_gsprims * gs_num_invocations); in gfx10_shader_ngg() 1311 shader->ge_cntl = S_03096C_PRIM_GRP_SIZE(shader->ngg.max_gsprims) | in gfx10_shader_ngg()
|
/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 1955 *max_gsprims = MIN2(*max_gsprims, 1 + max_reuse); in clamp_gsprims_to_esverts() 2078 unsigned max_gsprims = max_gsprims_base; in gfx10_get_ngg_info() local 2084 max_gsprims = MIN2(max_gsprims, target_lds_size / gsprim_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() 2101 max_gsprims = max_gsprims * 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 …]
|
D | radv_shader.h | 217 uint32_t max_gsprims; member
|
D | radv_shader.c | 987 …enable_vertex_grouping ? ngg_info->hw_max_esverts : num_vertices_per_prim * ngg_info->max_gsprims); in radv_lower_ngg()
|