Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c1786 struct radv_shader_info *gs_info = &infos[MESA_SHADER_GEOMETRY]; in gfx9_get_gs_info() local
1789 es_info = nir[MESA_SHADER_TESS_CTRL] ? &gs_info->tes.es_info : &gs_info->vs.es_info; in gfx9_get_gs_info()
1795 unsigned gs_num_invocations = MAX2(gs_info->gs.invocations, 1); in gfx9_get_gs_info()
1831 if (gs_info->gs.vertices_out > 0) { in gfx9_get_gs_info()
1834 (gs_info->gs.vertices_out * gs_num_invocations)); in gfx9_get_gs_info()
1841 min_es_verts = gs_info->gs.vertices_in / (uses_adjacency ? 2 : 1); in gfx9_get_gs_info()
1878 min_es_verts = gs_info->gs.vertices_in; in gfx9_get_gs_info()
1891 uint32_t max_prims_per_subgroup = gs_inst_prims_in_subgroup * gs_info->gs.vertices_out; in gfx9_get_gs_info()
1939 struct radv_shader_info *gs_info = &infos[MESA_SHADER_GEOMETRY]; in gfx10_get_ngg_info() local
1941 nir[MESA_SHADER_TESS_CTRL] ? &gs_info->tes.es_info : &gs_info->vs.es_info; in gfx10_get_ngg_info()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c895 S_028A44_ES_VERTS_PER_SUBGRP(shader->gs_info.es_verts_per_subgroup) | in si_shader_gs()
896 S_028A44_GS_PRIMS_PER_SUBGRP(shader->gs_info.gs_prims_per_subgroup) | in si_shader_gs()
897 S_028A44_GS_INST_PRIMS_IN_SUBGRP(shader->gs_info.gs_inst_prims_in_subgroup); in si_shader_gs()
899 S_028A94_MAX_PRIMS_PER_SUBGROUP(shader->gs_info.max_prims_per_subgroup); in si_shader_gs()
1077 const struct si_shader_info *gs_info = &gs_sel->info; in gfx10_shader_ngg() local
1086 bool window_space = gs_info->stage == MESA_SHADER_VERTEX ? in gfx10_shader_ngg()
1087 gs_info->base.vs.window_space_position : 0; in gfx10_shader_ngg()
1120 if (es_enable_prim_id || gs_info->uses_primid) in gfx10_shader_ngg()
1131 if (gs_info->uses_invocationid || in gfx10_shader_ngg()
1134 else if ((gs_stage == MESA_SHADER_GEOMETRY && gs_info->uses_primid) || in gfx10_shader_ngg()
Dsi_shader.h757 struct gfx9_gs_info gs_info; member
Dsi_shader.c814 sym->size = shader->gs_info.esgs_ring_size * 4; in si_shader_binary_open()
2568 gfx9_get_gs_info(shader->previous_stage_sel, sel, &shader->gs_info); in si_create_shader_variant()
Dgfx10_shader_ngg.c2092 shader->gs_info.esgs_ring_size = MIN2(max_esverts, max_gsprims * max_verts_per_prim) * in gfx10_ngg_calculate_subgroup_info()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c1802 const struct tgsi_shader_info *gs_info = &variant->shader->base.info; in draw_gs_llvm_emit_vertex() local
1823 gs_info->num_outputs, gs_type, in draw_gs_llvm_emit_vertex()
2744 const struct tgsi_shader_info *gs_info = &variant->shader->base.info; in draw_gs_llvm_generate() local
2836 if (gs_info->uses_primid) { in draw_gs_llvm_generate()