Home
last modified time | relevance | path

Searched refs:gs_info (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_draw.c140 struct shader_info *gs_info = ir3_get_shader_info(ctx->prog.gs); in fd6_draw_vbo() local
155 .layer_zero = !gs_info || !(gs_info->outputs_written & VARYING_BIT_LAYER), in fd6_draw_vbo()
185 (gs_info && BITSET_TEST(gs_info->system_values_read, SYSTEM_VALUE_PRIMITIVE_ID)) || in fd6_draw_vbo()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline.c2272 struct radv_shader_info *gs_info = &stages[MESA_SHADER_GEOMETRY].info; in gfx9_get_gs_info() local
2277 es_info = has_tess ? &gs_info->tes.es_info : &gs_info->vs.es_info; in gfx9_get_gs_info()
2282 unsigned gs_num_invocations = MAX2(gs_info->gs.invocations, 1); in gfx9_get_gs_info()
2318 if (gs_info->gs.vertices_out > 0) { in gfx9_get_gs_info()
2320 MIN2(max_gs_prims, max_out_prims / (gs_info->gs.vertices_out * gs_num_invocations)); in gfx9_get_gs_info()
2327 min_es_verts = gs_info->gs.vertices_in / (uses_adjacency ? 2 : 1); in gfx9_get_gs_info()
2362 min_es_verts = gs_info->gs.vertices_in; in gfx9_get_gs_info()
2375 uint32_t max_prims_per_subgroup = gs_inst_prims_in_subgroup * gs_info->gs.vertices_out; in gfx9_get_gs_info()
2489 struct radv_shader_info *gs_info = &stages[MESA_SHADER_GEOMETRY].info; in gfx10_get_ngg_info() local
2491 stages[MESA_SHADER_TESS_CTRL].nir ? &gs_info->tes.es_info : &gs_info->vs.es_info; in gfx10_get_ngg_info()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.cpp1134 S_028A44_ES_VERTS_PER_SUBGRP(shader->gs_info.es_verts_per_subgroup) | in si_shader_gs()
1135 S_028A44_GS_PRIMS_PER_SUBGRP(shader->gs_info.gs_prims_per_subgroup) | in si_shader_gs()
1136 S_028A44_GS_INST_PRIMS_IN_SUBGRP(shader->gs_info.gs_inst_prims_in_subgroup); in si_shader_gs()
1138 S_028A94_MAX_PRIMS_PER_SUBGROUP(shader->gs_info.max_prims_per_subgroup); in si_shader_gs()
1347 const struct si_shader_info *gs_info = &gs_sel->info; in gfx10_shader_ngg() local
1357 gs_info->base.vs.window_space_position : 0; in gfx10_shader_ngg()
1360 MAX2(gs_info->base.gs.invocations, 1) : 0; in gfx10_shader_ngg()
1391 if (es_enable_prim_id || gs_info->uses_primid) in gfx10_shader_ngg()
1402 if (gs_info->uses_invocationid || in gfx10_shader_ngg()
1405 else if ((gs_stage == MESA_SHADER_GEOMETRY && gs_info->uses_primid) || in gfx10_shader_ngg()
Dsi_shader.h888 struct gfx9_gs_info gs_info; member
Dsi_shader.c850 sym->size = shader->gs_info.esgs_ring_size * 4; in si_shader_binary_open()
2573 gfx9_get_gs_info(shader->previous_stage_sel, sel, &shader->gs_info); in si_create_shader_variant()
Dgfx10_shader_ngg.c2506 shader->gs_info.esgs_ring_size = MIN2(max_esverts, max_gsprims * max_verts_per_prim) * in gfx10_ngg_calculate_subgroup_info()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c1805 const struct tgsi_shader_info *gs_info = &variant->shader->base.info; in draw_gs_llvm_emit_vertex() local
1826 gs_info, outputs); in draw_gs_llvm_emit_vertex()
1831 gs_info->num_outputs, gs_type, in draw_gs_llvm_emit_vertex()
2766 const struct tgsi_shader_info *gs_info = &variant->shader->base.info; in draw_gs_llvm_generate() local
2863 if (gs_info->uses_primid) { in draw_gs_llvm_generate()