Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c2354 const struct si_shader_selector *gs_sel = shader->selector; in gfx10_ngg_calculate_subgroup_info() local
2356 shader->previous_stage_sel ? shader->previous_stage_sel : gs_sel; in gfx10_ngg_calculate_subgroup_info()
2357 const gl_shader_stage gs_stage = gs_sel->stage; in gfx10_ngg_calculate_subgroup_info()
2358 const unsigned gs_num_invocations = MAX2(gs_sel->info.base.gs.invocations, 1); in gfx10_ngg_calculate_subgroup_info()
2359 const unsigned input_prim = si_get_input_prim(gs_sel, &shader->key); in gfx10_ngg_calculate_subgroup_info()
2375 gs_sel->screen->info.gfx_level >= GFX11 ? 3 : /* gfx11 requires at least 1 primitive per TG */ in gfx10_ngg_calculate_subgroup_info()
2376 gs_sel->screen->info.gfx_level >= GFX10_3 ? 29 : (24 - 1 + max_verts_per_prim); in gfx10_ngg_calculate_subgroup_info()
2378 … unsigned max_gsprims_base = gs_sel->screen->ngg_subgroup_size; /* default prim group size clamp */ in gfx10_ngg_calculate_subgroup_info()
2379 unsigned max_esverts_base = gs_sel->screen->ngg_subgroup_size; in gfx10_ngg_calculate_subgroup_info()
2383 unsigned max_out_verts_per_gsprim = gs_sel->info.base.gs.vertices_out * gs_num_invocations; in gfx10_ngg_calculate_subgroup_info()
[all …]
Dsi_state_shaders.cpp1346 const struct si_shader_selector *gs_sel = shader->selector; in gfx10_shader_ngg() local
1347 const struct si_shader_info *gs_info = &gs_sel->info; in gfx10_shader_ngg()
1356 bool window_space = gs_sel->stage == MESA_SHADER_VERTEX ? in gfx10_shader_ngg()
1359 unsigned gs_num_invocations = gs_sel->stage == MESA_SHADER_GEOMETRY ? in gfx10_shader_ngg()
1361 unsigned input_prim = si_get_input_prim(gs_sel, &shader->key); in gfx10_shader_ngg()
1467 gs_sel->info.writes_primid); in gfx10_shader_ngg()
1471 shader->ctx_reg.ngg.vgt_gs_max_vert_out = gs_sel->info.base.gs.vertices_out; in gfx10_shader_ngg()