Home
last modified time | relevance | path

Searched refs:vertices_out (Results 1 – 25 of 50) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_tcs_variant.cpp92 const struct glsl_type *type = glsl_array_type(slot->types[frac], key->vertices_out, 0); in create_tess_ctrl_shader_variant()
103 for (unsigned i = 0; i < key->vertices_out; i++) { in create_tess_ctrl_shader_variant()
134 nir->info.tess.tcs_vertices_out = key->vertices_out; in create_tess_ctrl_shader_variant()
Dd3d12_gs_variant.cpp88 nir->info.gs.vertices_out = 1; in d3d12_make_passthrough_gs()
167 unsigned vertices_out) in d3d12_begin_emit_primitives_gs() argument
186 nir->info.gs.vertices_out = vertices_out; in d3d12_begin_emit_primitives_gs()
Dd3d12_lower_point_sprite.c314 shader->info.gs.vertices_out = shader->info.gs.vertices_out * 4 / in d3d12_lower_point_sprite()
Dd3d12_compiler.h214 unsigned vertices_out; member
Dd3d12_nir_passes.c845 shader->info.gs.vertices_out = (shader->info.gs.vertices_out - 2) * 3; in d3d12_lower_triangle_strip()
/third_party/mesa3d/src/intel/compiler/
Dgfx6_gs_visitor.cpp68 nir->info.gs.vertices_out); in emit_prolog()
221 unsigned num_output_vertices = nir->info.gs.vertices_out; in gs_end_primitive()
588 for (int i = 0; i < (int)nir->info.gs.vertices_out; i++) { in xfb_write()
Dbrw_vec4_gs_visitor.cpp670 nir->info.gs.vertices_out * c.control_data_bits_per_vertex; in brw_compile_gs()
765 prog_data->output_vertex_size_hwords * 32 * nir->info.gs.vertices_out; in brw_compile_gs()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_gs.c197 LLVMConstInt(ctx->ac.i32, shader->selector->info.base.gs.vertices_out, 0), ""); in si_llvm_emit_vertex()
215 LLVMConstInt(ctx->ac.i32, offset * shader->selector->info.base.gs.vertices_out, 0); in si_llvm_emit_vertex()
334 stride = 4 * num_components * sel->info.base.gs.vertices_out; in si_preload_gs_rings()
489 … LLVMConstInt(ctx.ac.i32, offset * gs_selector->info.base.gs.vertices_out * 16 * 4, 0); in si_generate_gs_copy_shader()
Dsi_state_shaders.cpp864 if (gs->info.base.gs.vertices_out > 0) { in gfx9_get_gs_info()
866 MIN2(max_gs_prims, max_out_prims / (gs->info.base.gs.vertices_out * gs_num_invocations)); in gfx9_get_gs_info()
921 out->max_prims_per_subgroup = out->gs_inst_prims_in_subgroup * gs->info.base.gs.vertices_out; in gfx9_get_gs_info()
1037 offset = num_components[0] * sel->info.base.gs.vertices_out; in si_shader_gs()
1041 offset += num_components[1] * sel->info.base.gs.vertices_out; in si_shader_gs()
1045 offset += num_components[2] * sel->info.base.gs.vertices_out; in si_shader_gs()
1049 offset += num_components[3] * sel->info.base.gs.vertices_out; in si_shader_gs()
1055 shader->ctx_reg.gs.vgt_gs_max_vert_out = sel->info.base.gs.vertices_out; in si_shader_gs()
1471 shader->ctx_reg.ngg.vgt_gs_max_vert_out = gs_sel->info.base.gs.vertices_out; in gfx10_shader_ngg()
1666 ac_vgt_gs_mode(gs->info.base.gs.vertices_out, sscreen->info.gfx_level); in si_shader_vs()
[all …]
Dgfx10_shader_ngg.c1804 unsigned write_stride_2exp = ffs(sel->info.base.gs.vertices_out) - 1; in ngg_gs_vertex_ptr()
1822 tmp = LLVMConstInt(ctx->ac.i32, sel->info.base.gs.vertices_out, false); in ngg_gs_emit_vertex_ptr()
1864 LLVMConstInt(ctx->ac.i32, sel->info.base.gs.vertices_out, false), ""); in gfx10_ngg_gs_emit_vertex()
1995 LLVMConstInt(ctx->ac.i32, sel->info.base.gs.vertices_out, false), ""); in gfx10_ngg_gs_build_end()
2383 unsigned max_out_verts_per_gsprim = gs_sel->info.base.gs.vertices_out * gs_num_invocations; in gfx10_ngg_calculate_subgroup_info()
2396 max_out_verts_per_gsprim = gs_sel->info.base.gs.vertices_out; in gfx10_ngg_calculate_subgroup_info()
2486 ? gs_sel->info.base.gs.vertices_out in gfx10_ngg_calculate_subgroup_info()
2488 ? max_gsprims * gs_num_invocations * gs_sel->info.base.gs.vertices_out in gfx10_ngg_calculate_subgroup_info()
2496 prim_amp_factor = gs_sel->info.base.gs.vertices_out; in gfx10_ngg_calculate_subgroup_info()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_tess.h62 unsigned vertices_out; member
Ddraw_tess.c115 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()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_state_ts.c69 key->tcs.vertices_out = tes->base.key.tes.vertices_per_patch; in make_tcs_key()
168 svga->curr.tcs->base.info.tcs.vertices_out : 0; in make_tes_key()
Dsvga_shader.h99 unsigned vertices_out:8; member
341 unsigned vertices_out; /* number of vertices in tcs patch */ member
Dsvga_tgsi.c484 info->tcs.vertices_out = in svga_tgsi_scan_shader()
/third_party/mesa3d/src/amd/compiler/
Daco_shader_info.h125 unsigned vertices_out; member
/third_party/mesa3d/src/compiler/
Dshader_info.h365 uint16_t vertices_out; member
/third_party/mesa3d/src/amd/vulkan/
Dradv_aco_shader_info.h91 ASSIGN_FIELD(gs.vertices_out); in radv_aco_convert_shader_info()
Dradv_shader_info.c648 info->gs.vertices_out = nir->info.gs.vertices_out; in radv_nir_shader_info_pass()
676 info->gs.max_gsvs_emit_size = info->gs.gsvs_vertex_size * nir->info.gs.vertices_out; in radv_nir_shader_info_pass()
Dradv_shader.h287 unsigned vertices_out; member
/third_party/mesa3d/src/compiler/glsl/
Dlinker.cpp2059 int vertices_out = -1; in link_gs_inout_layout_qualifiers() local
2101 if (vertices_out != -1 && in link_gs_inout_layout_qualifiers()
2102 vertices_out != shader->info.Geom.VerticesOut) { in link_gs_inout_layout_qualifiers()
2105 vertices_out, shader->info.Geom.VerticesOut); in link_gs_inout_layout_qualifiers()
2108 vertices_out = shader->info.Geom.VerticesOut; in link_gs_inout_layout_qualifiers()
2141 if (vertices_out == -1) { in link_gs_inout_layout_qualifiers()
2146 gl_prog->info.gs.vertices_out = vertices_out; in link_gs_inout_layout_qualifiers()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_gs_intrinsics.c99 nir_imm_int(b, b->shader->info.gs.vertices_out); in rewrite_emit_vertex()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_shader.c354 v->gs.vertices_out = info->gs.vertices_out; in alloc_variant()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_program.c1238 …unsigned needed_components = nir->info.stage == MESA_SHADER_GEOMETRY ? nir->info.gs.vertices_out :… in st_can_add_pointsize_to_program()
1246 num_components *= nir->info.gs.vertices_out; in st_can_add_pointsize_to_program()
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_ngg.c1583 unsigned write_stride_2exp = ffs(MAX2(b->shader->info.gs.vertices_out, 1)) - 1; in ngg_gs_out_vertex_addr()
1600 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()
1615 …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()
1803 …_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()
2056 state.output_compile_time_known = state.const_out_vtxcnt[0] == shader->info.gs.vertices_out && in ac_nir_lower_ngg_gs()

12