Home
last modified time | relevance | path

Searched refs:max_vertices (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_vbuf.c69 unsigned max_vertices; member
112 if (vbuf->nr_vertices + nr > vbuf->max_vertices || in check_space()
350 vbuf->max_vertices = vbuf->nr_vertices = 0; in vbuf_flush_vertices()
375 vbuf->max_vertices = vbuf->render->max_vertex_buffer_bytes / vbuf->vertex_size; in vbuf_alloc_vertices()
377 if(vbuf->max_vertices >= UNDEFINED_VERTEX_ID) in vbuf_alloc_vertices()
378 vbuf->max_vertices = UNDEFINED_VERTEX_ID - 1; in vbuf_alloc_vertices()
387 (ushort) vbuf->max_vertices); in vbuf_alloc_vertices()
Ddraw_vs_exec.c114 unsigned int max_vertices = MIN2(MAX_TGSI_VERTICES, count - i); in vs_exec_run_linear() local
118 for (j = 0; j < max_vertices; j++) { in vs_exec_run_linear()
164 machine->NonHelperMask = (1 << max_vertices) - 1; in vs_exec_run_linear()
170 for (j = 0; j < max_vertices; j++) { in vs_exec_run_linear()
Ddraw_pt_fetch_shade_pipeline_llvm.c144 unsigned *max_vertices ) in llvm_middle_end_prepare() argument
173 max_vertices ); in llvm_middle_end_prepare()
175 *max_vertices = MAX2( *max_vertices, 4096 ); in llvm_middle_end_prepare()
179 *max_vertices = 4096; in llvm_middle_end_prepare()
195 *max_vertices = *max_vertices & ~1; in llvm_middle_end_prepare()
Ddraw_pt_fetch_shade_pipeline.c73 unsigned *max_vertices) in fetch_pipeline_prepare() argument
129 max_vertices ); in fetch_pipeline_prepare()
131 *max_vertices = MAX2( *max_vertices, 4096 ); in fetch_pipeline_prepare()
135 *max_vertices = 4096; in fetch_pipeline_prepare()
Ddraw_pt.h94 unsigned *max_vertices );
169 unsigned *max_vertices );
Ddraw_pt_emit.c56 unsigned *max_vertices) in draw_pt_emit_prepare() argument
127 *max_vertices = 0; in draw_pt_emit_prepare()
129 *max_vertices = (draw->render->max_vertex_buffer_bytes / in draw_pt_emit_prepare()
Ddraw_pt_vsplit.c47 unsigned max_vertices; member
228 middle->prepare(middle, vsplit->prim, opt, &vsplit->max_vertices); in vsplit_prepare()
230 vsplit->segment_size = MIN2(SEGMENT_SIZE, vsplit->max_vertices); in vsplit_prepare()
Ddraw_pt_vsplit_tmp.h58 if (icount > vsplit->max_vertices) in CONCAT()
225 assert(icount <= vsplit->max_vertices); in vsplit_segment_simple_linear()
280 const unsigned max_count_simple = vsplit->max_vertices; \
Ddraw_pt_fetch_emit.c93 unsigned *max_vertices ) in fetch_emit_prepare() argument
178 *max_vertices = (draw->render->max_vertex_buffer_bytes / in fetch_emit_prepare()
Ddraw_pt_fetch_shade_emit.c72 unsigned *max_vertices) in fse_prepare() argument
168 *max_vertices = (draw->render->max_vertex_buffer_bytes / in fse_prepare()
/external/mesa3d/src/compiler/glsl/
Dast_type.cpp281 if (q.flags.q.max_vertices) { in merge_qualifier()
282 if (this->flags.q.max_vertices in merge_qualifier()
284 this->max_vertices->merge_qualifier(q.max_vertices); in merge_qualifier()
286 this->flags.q.max_vertices = 1; in merge_qualifier()
287 this->max_vertices = q.max_vertices; in merge_qualifier()
463 valid_out_mask.flags.q.max_vertices = 1; in validate_out_qualifier()
758 bad.flags.q.max_vertices ? " max_vertices" : "", in validate_flags()
Dast.h546 unsigned max_vertices:1; member
661 ast_layout_expression *max_vertices; member
Dglsl_parser_extras.cpp1749 if (state->out_qualifier->flags.q.max_vertices) { in set_shader_inout_layout()
1751 if (state->out_qualifier->max_vertices-> in set_shader_inout_layout()
1756 YYLTYPE loc = state->out_qualifier->max_vertices->get_location(); in set_shader_inout_layout()
Dglsl_parser.yy1650 if (match_layout_qualifier("max_vertices", $1, state) == 0) {
1651 $$.flags.q.max_vertices = 1;
1652 $$.max_vertices = new(ctx) ast_layout_expression(@1, $3);
1655 "#version 150 max_vertices qualifier "
/external/mesa3d/src/compiler/nir/
Dnir_lower_gs_intrinsics.c79 nir_ssa_def *max_vertices = in rewrite_emit_vertex() local
88 if_stmt->condition = nir_src_for_ssa(nir_ilt(b, count, max_vertices)); in rewrite_emit_vertex()
/external/deqp/external/vulkancts/data/vulkan/dynamic_state/
DViewportArray.geom3 layout(triangle_strip, max_vertices = 3) out;
/external/skia/src/sksl/
Dlayout.flex52 "max_vertices" { return SkSL::Token::MAX_VERTICES; }
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryBasicGeometryShaderTests.cpp691 …const int max_vertices = m_pattern.size() == 2 ? std::max(m_pattern[0], m_pattern[1]) : m_pattern[… in initPrograms() local
698 << "layout(triangle_strip, max_vertices = " << max_vertices << ") out;\n" in initPrograms()
704 << " const highp float colWidth = 2.0 / float(" << max_vertices << ");\n"; in initPrograms()
/external/mesa3d/src/mesa/main/
Dtransformfeedback.c475 unsigned max_vertices in _mesa_BeginTransformFeedback() local
477 obj->GlesRemainingPrims = max_vertices / vertices_per_prim; in _mesa_BeginTransformFeedback()
/external/deqp/data/gles31/shaders/
Dlinkage_geometry.test786 layout (triangle_strip, max_vertices=3) out;
824 layout (max_vertices=3) out;