/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_gs_variant.cpp | 74 nir->info.gs.vertices_out = 1; in d3d12_make_passthrough_gs() 144 unsigned vertices_out) in d3d12_begin_emit_primitives_gs() argument 163 nir->info.gs.vertices_out = vertices_out; in d3d12_begin_emit_primitives_gs()
|
D | d3d12_lower_point_sprite.c | 301 shader->info.gs.vertices_out *= 4; in d3d12_lower_point_sprite()
|
D | d3d12_nir_passes.c | 788 shader->info.gs.vertices_out = (shader->info.gs.vertices_out - 2) * 3; in d3d12_lower_triangle_strip()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_tess.h | 62 unsigned vertices_out; member
|
D | draw_tess.c | 115 unsigned num_vertices = shader->vertices_out; in llvm_store_tcs_output() 195 output_verts->count += shader->vertices_out; in draw_tess_ctrl_shader_run() 450 tcs->vertices_out = tcs->info.properties[TGSI_PROPERTY_TCS_VERTICES_OUT]; in draw_create_tess_ctrl_shader()
|
D | draw_pt_fetch_shade_pipeline_llvm.c | 674 … tcs_shader ? tcs_shader->vertices_out : draw->pt.vertices_per_patch, in llvm_pipeline_generic()
|
/third_party/mesa3d/src/intel/compiler/ |
D | gfx6_gs_visitor.cpp | 67 nir->info.gs.vertices_out); in emit_prolog() 220 unsigned num_output_vertices = nir->info.gs.vertices_out; in gs_end_primitive() 587 for (int i = 0; i < (int)nir->info.gs.vertices_out; i++) { in xfb_write()
|
D | brw_vec4_gs_visitor.cpp | 671 nir->info.gs.vertices_out * c.control_data_bits_per_vertex; in brw_compile_gs() 766 prog_data->output_vertex_size_hwords * 32 * nir->info.gs.vertices_out; in brw_compile_gs()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_llvm_gs.c | 257 LLVMConstInt(ctx->ac.i32, shader->selector->info.base.gs.vertices_out, 0), ""); in si_llvm_emit_vertex() 275 LLVMConstInt(ctx->ac.i32, offset * shader->selector->info.base.gs.vertices_out, 0); in si_llvm_emit_vertex() 364 stride = 4 * num_components * sel->info.base.gs.vertices_out; in si_preload_gs_rings() 497 … LLVMConstInt(ctx.ac.i32, offset * gs_selector->info.base.gs.vertices_out * 16 * 4, 0); in si_generate_gs_copy_shader()
|
D | gfx10_shader_ngg.c | 1577 unsigned write_stride_2exp = ffs(sel->info.base.gs.vertices_out) - 1; in ngg_gs_vertex_ptr() 1595 tmp = LLVMConstInt(ctx->ac.i32, sel->info.base.gs.vertices_out, false); in ngg_gs_emit_vertex_ptr() 1637 LLVMConstInt(ctx->ac.i32, sel->info.base.gs.vertices_out, false), ""); in gfx10_ngg_gs_emit_vertex() 1743 LLVMConstInt(ctx->ac.i32, sel->info.base.gs.vertices_out, false), ""); in gfx10_ngg_gs_emit_epilogue() 2025 unsigned max_out_verts_per_gsprim = gs_sel->info.base.gs.vertices_out * gs_num_invocations; in gfx10_ngg_calculate_subgroup_info() 2038 max_out_verts_per_gsprim = gs_sel->info.base.gs.vertices_out; in gfx10_ngg_calculate_subgroup_info() 2139 ? gs_sel->info.base.gs.vertices_out in gfx10_ngg_calculate_subgroup_info() 2141 ? max_gsprims * gs_num_invocations * gs_sel->info.base.gs.vertices_out in gfx10_ngg_calculate_subgroup_info() 2149 prim_amp_factor = gs_sel->info.base.gs.vertices_out; in gfx10_ngg_calculate_subgroup_info()
|
D | si_state_shaders.c | 702 if (gs->info.base.gs.vertices_out > 0) { in gfx9_get_gs_info() 704 MIN2(max_gs_prims, max_out_prims / (gs->info.base.gs.vertices_out * gs_num_invocations)); in gfx9_get_gs_info() 759 out->max_prims_per_subgroup = out->gs_inst_prims_in_subgroup * gs->info.base.gs.vertices_out; in gfx9_get_gs_info() 854 offset = num_components[0] * sel->info.base.gs.vertices_out; in si_shader_gs() 858 offset += num_components[1] * sel->info.base.gs.vertices_out; in si_shader_gs() 862 offset += num_components[2] * sel->info.base.gs.vertices_out; in si_shader_gs() 866 offset += num_components[3] * sel->info.base.gs.vertices_out; in si_shader_gs() 872 shader->ctx_reg.gs.vgt_gs_max_vert_out = sel->info.base.gs.vertices_out; in si_shader_gs() 1263 shader->ctx_reg.ngg.vgt_gs_max_vert_out = gs_sel->info.base.gs.vertices_out; in gfx10_shader_ngg() 1447 ac_vgt_gs_mode(gs->info.base.gs.vertices_out, sscreen->info.chip_class); in si_shader_vs() [all …]
|
/third_party/mesa3d/src/compiler/ |
D | shader_info.h | 315 uint16_t vertices_out; member
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_shader_info.c | 724 info->gs.vertices_out = nir->info.gs.vertices_out; in radv_nir_shader_info_pass() 747 info->gs.max_gsvs_emit_size = info->gs.gsvs_vertex_size * nir->info.gs.vertices_out; in radv_nir_shader_info_pass()
|
D | radv_pipeline.c | 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() 1930 uint32_t max_prims_per_subgroup = gs_inst_prims_in_subgroup * gs_info->gs.vertices_out; in gfx9_get_gs_info() 2043 unsigned max_out_verts_per_gsprim = gs_info->gs.vertices_out * gs_num_invocations; in gfx10_get_ngg_info() 2055 max_out_verts_per_gsprim = gs_info->gs.vertices_out; in gfx10_get_ngg_info() 2169 unsigned max_out_vertices = max_vert_out_per_gs_instance ? gs_info->gs.vertices_out in gfx10_get_ngg_info() 2171 ? max_gsprims * gs_num_invocations * gs_info->gs.vertices_out in gfx10_get_ngg_info() 2179 prim_amp_factor = gs_info->gs.vertices_out; in gfx10_get_ngg_info() 2823 nir[MESA_SHADER_GEOMETRY]->info.gs.vertices_out > in radv_fill_shader_info() 4386 vgt_gs_mode = ac_vgt_gs_mode(gs->info.gs.vertices_out, in radv_pipeline_generate_vgt_gs_mode() [all …]
|
D | radv_shader.h | 276 unsigned vertices_out; member
|
D | radv_nir_to_llvm.c | 329 LLVMConstInt(ctx->ac.i32, offset * ctx->shader->info.gs.vertices_out, false); in visit_emit_vertex_with_counter() 1515 unsigned write_stride_2exp = ffs(MAX2(ctx->shader->info.gs.vertices_out, 1)) - 1; in ngg_gs_vertex_ptr() 1532 tmp = LLVMConstInt(ctx->ac.i32, ctx->shader->info.gs.vertices_out, false); in ngg_gs_emit_vertex_ptr() 1749 LLVMConstInt(ctx->ac.i32, ctx->shader->info.gs.vertices_out, false), ""); in gfx10_ngg_gs_emit_epilogue_1() 2296 stride = 4 * num_components * ctx->shader->info.gs.vertices_out; in ac_setup_rings() 2742 soffset = LLVMConstInt(ctx->ac.i32, offset * ctx->shader->info.gs.vertices_out * 16 * 4, in ac_gs_copy_shader_emit()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_shader.h | 98 unsigned vertices_out:8; member
|
D | svga_state_ts.c | 98 key->tcs.vertices_out = tes->base.key.tes.vertices_per_patch; in make_tcs_key()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_gs_intrinsics.c | 96 nir_imm_int(b, b->shader->info.gs.vertices_out); in rewrite_emit_vertex()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | linker.cpp | 2154 int vertices_out = -1; in link_gs_inout_layout_qualifiers() local 2196 if (vertices_out != -1 && in link_gs_inout_layout_qualifiers() 2197 vertices_out != shader->info.Geom.VerticesOut) { in link_gs_inout_layout_qualifiers() 2200 vertices_out, shader->info.Geom.VerticesOut); in link_gs_inout_layout_qualifiers() 2203 vertices_out = shader->info.Geom.VerticesOut; in link_gs_inout_layout_qualifiers() 2236 if (vertices_out == -1) { in link_gs_inout_layout_qualifiers() 2241 gl_prog->info.gs.vertices_out = vertices_out; in link_gs_inout_layout_qualifiers()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_nir_lower_ngg.c | 1425 unsigned write_stride_2exp = ffs(MAX2(b->shader->info.gs.vertices_out, 1)) - 1; in ngg_gs_out_vertex_addr() 1442 nir_ssa_def *gs_out_vtx_base = nir_imul_imm(b, tid_in_tg, b->shader->info.gs.vertices_out); in ngg_gs_emit_vertex_addr() 1457 …ush_if(b, nir_uge(b, current_clear_primflag_idx, nir_imm_int(b, b->shader->info.gs.vertices_out))); in ngg_gs_clear_primflags() 1638 …_src_is_const(intrin->src[0]) || nir_src_as_uint(intrin->src[0]) < b->shader->info.gs.vertices_out) in lower_ngg_gs_set_vertex_and_primitive_count() 1869 state.output_compile_time_known = state.const_out_vtxcnt[0] == shader->info.gs.vertices_out && in ac_nir_lower_ngg_gs()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_pipeline.c | 1206 uint32_t vertices_out, invocations, output, vec4_size; in tu6_emit_vpc() local 1216 vertices_out = gs->shader->nir->info.gs.vertices_out - 1; in tu6_emit_vpc() 1223 vertices_out = 3; in tu6_emit_vpc() 1231 A6XX_PC_PRIMITIVE_CNTL_5_GS_VERTICES_OUT(vertices_out) | in tu6_emit_vpc()
|
/third_party/mesa3d/src/broadcom/compiler/ |
D | v3d_nir_lower_io.c | 505 const uint32_t num_vertices = c->s->info.gs.vertices_out; in v3d_nir_setup_vpm_layout_gs()
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi_info.c | 455 info->properties[TGSI_PROPERTY_GS_MAX_OUTPUT_VERTICES] = nir->info.gs.vertices_out; in nir_tgsi_scan_shader()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_meta_clear.c | 378 nir->info.gs.vertices_out = 3; in get_clear_rect_gs()
|