Searched refs:gs_info (Results 1 – 7 of 7) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_draw.c | 141 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() 184 (gs_info && BITSET_TEST(gs_info->system_values_read, SYSTEM_VALUE_PRIMITIVE_ID)) || in fd6_draw_vbo()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_pipeline.c | 1828 struct radv_shader_info *gs_info = &infos[MESA_SHADER_GEOMETRY]; in gfx9_get_gs_info() local 1832 es_info = has_tess ? &gs_info->tes.es_info : &gs_info->vs.es_info; in gfx9_get_gs_info() 1837 unsigned gs_num_invocations = MAX2(gs_info->gs.invocations, 1); in gfx9_get_gs_info() 1873 if (gs_info->gs.vertices_out > 0) { in gfx9_get_gs_info() 1875 MIN2(max_gs_prims, max_out_prims / (gs_info->gs.vertices_out * gs_num_invocations)); in gfx9_get_gs_info() 1882 min_es_verts = gs_info->gs.vertices_in / (uses_adjacency ? 2 : 1); in gfx9_get_gs_info() 1917 min_es_verts = gs_info->gs.vertices_in; in gfx9_get_gs_info() 1930 uint32_t max_prims_per_subgroup = gs_inst_prims_in_subgroup * gs_info->gs.vertices_out; in gfx9_get_gs_info() 1992 struct radv_shader_info *gs_info = &infos[MESA_SHADER_GEOMETRY]; in gfx10_get_ngg_info() local 1994 nir[MESA_SHADER_TESS_CTRL] ? &gs_info->tes.es_info : &gs_info->vs.es_info; in gfx10_get_ngg_info() [all …]
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_shaders.c | 950 S_028A44_ES_VERTS_PER_SUBGRP(shader->gs_info.es_verts_per_subgroup) | in si_shader_gs() 951 S_028A44_GS_PRIMS_PER_SUBGRP(shader->gs_info.gs_prims_per_subgroup) | in si_shader_gs() 952 S_028A44_GS_INST_PRIMS_IN_SUBGRP(shader->gs_info.gs_inst_prims_in_subgroup); in si_shader_gs() 954 S_028A94_MAX_PRIMS_PER_SUBGROUP(shader->gs_info.max_prims_per_subgroup); in si_shader_gs() 1145 const struct si_shader_info *gs_info = &gs_sel->info; in gfx10_shader_ngg() local 1154 bool window_space = gs_info->stage == MESA_SHADER_VERTEX ? in gfx10_shader_ngg() 1155 gs_info->base.vs.window_space_position : 0; in gfx10_shader_ngg() 1188 if (es_enable_prim_id || gs_info->uses_primid) in gfx10_shader_ngg() 1199 if (gs_info->uses_invocationid || in gfx10_shader_ngg() 1202 else if ((gs_stage == MESA_SHADER_GEOMETRY && gs_info->uses_primid) || in gfx10_shader_ngg()
|
D | si_shader.h | 814 struct gfx9_gs_info gs_info; member
|
D | si_shader.c | 792 sym->size = shader->gs_info.esgs_ring_size * 4; in si_shader_binary_open() 2108 gfx9_get_gs_info(shader->previous_stage_sel, sel, &shader->gs_info); in si_create_shader_variant()
|
D | gfx10_shader_ngg.c | 2159 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/ |
D | draw_llvm.c | 1825 const struct tgsi_shader_info *gs_info = &variant->shader->base.info; in draw_gs_llvm_emit_vertex() local 1846 gs_info, outputs); in draw_gs_llvm_emit_vertex() 1850 gs_info->num_outputs, gs_type, in draw_gs_llvm_emit_vertex() 2782 const struct tgsi_shader_info *gs_info = &variant->shader->base.info; in draw_gs_llvm_generate() local 2877 if (gs_info->uses_primid) { in draw_gs_llvm_generate()
|