Home
last modified time | relevance | path

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

12

/external/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()
449 tcs->vertices_out = tcs->info.properties[TGSI_PROPERTY_TCS_VERTICES_OUT]; in draw_create_tess_ctrl_shader()
Ddraw_pt_fetch_shade_pipeline_llvm.c667 … tcs_shader ? tcs_shader->vertices_out : draw->pt.vertices_per_patch, in llvm_pipeline_generic()
Ddraw_llvm.c3388 LLVMValueRef count = lp_build_const_int32(gallivm, variant->shader->base.vertices_out); in draw_tcs_llvm_generate()
3393 unsigned count_align = util_align_npot(variant->shader->base.vertices_out, tcs_type.length); in draw_tcs_llvm_generate()
/external/mesa3d/src/intel/compiler/
Dgen6_gs_visitor.cpp67 nir->info.gs.vertices_out); in emit_prolog()
222 unsigned num_output_vertices = nir->info.gs.vertices_out; in gs_end_primitive()
626 for (int i = 0; i < (int)nir->info.gs.vertices_out; i++) { in xfb_write()
Dbrw_vec4_gs_visitor.cpp667 nir->info.gs.vertices_out * c.control_data_bits_per_vertex; in brw_compile_gs()
762 prog_data->output_vertex_size_hwords * 32 * nir->info.gs.vertices_out; in brw_compile_gs()
/external/mesa3d/src/compiler/
Dshader_info.h249 uint16_t vertices_out; member
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_gs.c271 LLVMConstInt(ctx->ac.i32, shader->selector->info.base.gs.vertices_out, 0), ""); in si_llvm_emit_vertex()
289 LLVMConstInt(ctx->ac.i32, offset * shader->selector->info.base.gs.vertices_out, 0); in si_llvm_emit_vertex()
378 stride = 4 * num_components * sel->info.base.gs.vertices_out; in si_preload_gs_rings()
511 … LLVMConstInt(ctx.ac.i32, offset * gs_selector->info.base.gs.vertices_out * 16 * 4, 0); in si_generate_gs_copy_shader()
Dgfx10_shader_ngg.c1488 unsigned write_stride_2exp = ffs(sel->info.base.gs.vertices_out) - 1; in ngg_gs_vertex_ptr()
1506 tmp = LLVMConstInt(ctx->ac.i32, sel->info.base.gs.vertices_out, false); in ngg_gs_emit_vertex_ptr()
1548 LLVMConstInt(ctx->ac.i32, sel->info.base.gs.vertices_out, false), ""); in gfx10_ngg_gs_emit_vertex()
1654 LLVMConstInt(ctx->ac.i32, sel->info.base.gs.vertices_out, false), ""); in gfx10_ngg_gs_emit_epilogue()
1963 unsigned max_out_verts_per_gsprim = gs_sel->info.base.gs.vertices_out * gs_num_invocations; in gfx10_ngg_calculate_subgroup_info()
1976 max_out_verts_per_gsprim = gs_sel->info.base.gs.vertices_out; in gfx10_ngg_calculate_subgroup_info()
2067 ? gs_sel->info.base.gs.vertices_out in gfx10_ngg_calculate_subgroup_info()
2069 ? max_gsprims * gs_num_invocations * gs_sel->info.base.gs.vertices_out in gfx10_ngg_calculate_subgroup_info()
2077 prim_amp_factor = gs_sel->info.base.gs.vertices_out; in gfx10_ngg_calculate_subgroup_info()
Dsi_state_shaders.c660 if (gs->info.base.gs.vertices_out > 0) { in gfx9_get_gs_info()
662 MIN2(max_gs_prims, max_out_prims / (gs->info.base.gs.vertices_out * gs_num_invocations)); in gfx9_get_gs_info()
717 out->max_prims_per_subgroup = out->gs_inst_prims_in_subgroup * gs->info.base.gs.vertices_out; in gfx9_get_gs_info()
800 offset = num_components[0] * sel->info.base.gs.vertices_out; in si_shader_gs()
804 offset += num_components[1] * sel->info.base.gs.vertices_out; in si_shader_gs()
808 offset += num_components[2] * sel->info.base.gs.vertices_out; in si_shader_gs()
812 offset += num_components[3] * sel->info.base.gs.vertices_out; in si_shader_gs()
818 shader->ctx_reg.gs.vgt_gs_max_vert_out = sel->info.base.gs.vertices_out; in si_shader_gs()
1215 shader->ctx_reg.ngg.vgt_gs_max_vert_out = gs_sel->info.base.gs.vertices_out; in gfx10_shader_ngg()
1403 ac_vgt_gs_mode(gs->info.base.gs.vertices_out, sscreen->info.chip_class); in si_shader_vs()
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_shader_info.c663 info->gs.vertices_out = nir->info.gs.vertices_out; in radv_nir_shader_info_pass()
697 info->gs.gsvs_vertex_size * nir->info.gs.vertices_out; in radv_nir_shader_info_pass()
Dradv_pipeline.c1831 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()
1891 uint32_t max_prims_per_subgroup = gs_inst_prims_in_subgroup * gs_info->gs.vertices_out; in gfx9_get_gs_info()
1991 gs_info->gs.vertices_out * gs_num_invocations; in gfx10_get_ngg_info()
2004 max_out_verts_per_gsprim = gs_info->gs.vertices_out; in gfx10_get_ngg_info()
2115 max_vert_out_per_gs_instance ? gs_info->gs.vertices_out : in gfx10_get_ngg_info()
2117 max_gsprims * gs_num_invocations * gs_info->gs.vertices_out : in gfx10_get_ngg_info()
2125 prim_amp_factor = gs_info->gs.vertices_out; in gfx10_get_ngg_info()
2639 nir[MESA_SHADER_GEOMETRY]->info.gs.vertices_out > 256) { in radv_fill_shader_keys()
4175 vgt_gs_mode = ac_vgt_gs_mode(gs->info.gs.vertices_out, in radv_pipeline_generate_vgt_gs_mode()
[all …]
Dradv_shader.h285 unsigned vertices_out; member
Dradv_nir_to_llvm.c799 ctx->shader->info.gs.vertices_out, false); in visit_emit_vertex_with_counter()
2147 unsigned write_stride_2exp = ffs(ctx->shader->info.gs.vertices_out) - 1; in ngg_gs_vertex_ptr()
2169 tmp = LLVMConstInt(ctx->ac.i32, ctx->shader->info.gs.vertices_out, false); in ngg_gs_emit_vertex_ptr()
2918 LLVMConstInt(ctx->ac.i32, ctx->shader->info.gs.vertices_out, false), ""); in gfx10_ngg_gs_emit_epilogue_1()
3697 stride = 4 * num_components * ctx->shader->info.gs.vertices_out; in ac_setup_rings()
4264 ctx->shader->info.gs.vertices_out * 16 * 4, false); in ac_gs_copy_shader_emit()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_shader.h98 unsigned vertices_out:8; member
Dsvga_state_ts.c98 key->tcs.vertices_out = tes->base.key.tes.vertices_per_patch; in make_tcs_key()
Dsvga_tgsi_vgpu10.c3087 assert(emit->key.tcs.vertices_out >= 0 && emit->key.tcs.vertices_out <= 32); in emit_hull_shader_declarations()
3091 opcode0.controlPointCount = emit->key.tcs.vertices_out; in emit_hull_shader_declarations()
3178 if ((emit->key.tcs.vertices_per_patch != emit->key.tcs.vertices_out) && in needs_control_point_phase()
3179 emit->key.tcs.vertices_out) in needs_control_point_phase()
3256 if (!emit->key.tcs.vertices_out) { in emit_hull_shader_control_point_phase()
/external/mesa3d/src/compiler/nir/
Dnir_lower_gs_intrinsics.c96 nir_imm_int(b, b->shader->info.gs.vertices_out); in rewrite_emit_vertex()
/external/mesa3d/src/compiler/glsl/
Dlinker.cpp2120 int vertices_out = -1; in link_gs_inout_layout_qualifiers() local
2162 if (vertices_out != -1 && in link_gs_inout_layout_qualifiers()
2163 vertices_out != shader->info.Geom.VerticesOut) { in link_gs_inout_layout_qualifiers()
2166 vertices_out, shader->info.Geom.VerticesOut); in link_gs_inout_layout_qualifiers()
2169 vertices_out = shader->info.Geom.VerticesOut; in link_gs_inout_layout_qualifiers()
2202 if (vertices_out == -1) { in link_gs_inout_layout_qualifiers()
2207 gl_prog->info.gs.vertices_out = vertices_out; in link_gs_inout_layout_qualifiers()
/external/mesa3d/src/freedreno/vulkan/
Dtu_pipeline.c1052 uint32_t vertices_out, invocations, output, vec4_size; in tu6_emit_vpc() local
1060 vertices_out = gs->shader->nir->info.gs.vertices_out - 1; in tu6_emit_vpc()
1067 vertices_out = 3; in tu6_emit_vpc()
1075 A6XX_PC_PRIMITIVE_CNTL_5_GS_VERTICES_OUT(vertices_out) | in tu6_emit_vpc()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection_setup.cpp422 assert((ngg_emit_bytes % (ctx->ngg_gs_emit_vtx_bytes * nir->info.gs.vertices_out)) == 0); in setup_gs_variables()
426 …ctx->ngg_gs_early_alloc = ctx->ngg_gs_const_vtxcnt[0] == nir->info.gs.vertices_out && ctx->ngg_gs_… in setup_gs_variables()
/external/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_io.c466 const uint32_t num_vertices = c->s->info.gs.vertices_out; in v3d_nir_setup_vpm_layout_gs()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c455 info->properties[TGSI_PROPERTY_GS_MAX_OUTPUT_VERTICES] = nir->info.gs.vertices_out; in nir_tgsi_scan_shader()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_program.c847 A6XX_PC_PRIMITIVE_CNTL_5_GS_VERTICES_OUT(gs->shader->nir->info.gs.vertices_out - 1) | in setup_stateobj()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.c2312 info->gs.vertices_out); in ureg_setup_geometry_shader()

12