/third_party/glslang/Test/ |
H A D | runtests | 43 rm -f comp.spv frag.spv geom.spv tesc.spv tese.spv vert.spv 56 run -l -q -C reflection.vert > $TARGETDIR/reflection.vert.out 57 diff -b $BASEDIR/reflection.vert.out $TARGETDIR/reflection.vert.out || HASERROR=1 58 run -l -q -C --reflect-strict-array-suffix --reflect-basic-array-suffix --reflect-intermediate-io --reflect-separate-buffers --reflect-all-block-variables --reflect-unwrap-io-blocks --reflect-all-io-variables --reflect-shared-std140-ubo --reflect-shared-std140-ssbo reflection.options.vert > $TARGETDIR/reflection.options.vert.out 59 diff -b $BASEDIR/reflection.options.vert.out $TARGETDIR/reflection.options.vert.out || HASERROR=1 66 run -l -q -C reflection.linked.vert reflectio [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_compile_sf.c | 49 struct brw_reg vert[3]; member 98 struct brw_reg vert, in get_vue_slot() 104 return brw_vec4_grf(vert.nr + off, sub * 4); in get_vue_slot() 111 struct brw_reg vert, in get_varying() 116 return get_vue_slot(c, vert, vue_slot); in get_varying() 129 struct brw_reg vert ) in copy_bfc() 138 get_varying(c, vert, VARYING_SLOT_COL0+i), in copy_bfc() 139 get_varying(c, vert, VARYING_SLOT_BFC0+i)); in copy_bfc() 171 case 3: copy_bfc(c, c->vert[2]); FALLTHROUGH; in do_twoside_color() 172 case 2: copy_bfc(c, c->vert[ in do_twoside_color() 97 get_vue_slot(struct brw_sf_compile *c, struct brw_reg vert, int vue_slot) get_vue_slot() argument 110 get_varying(struct brw_sf_compile *c, struct brw_reg vert, GLuint varying) get_varying() argument [all...] |
/third_party/spirv-tools/test/diff/diff_files/ |
H A D | multiple_different_entry_points_autogen.cpp | 81 OpEntryPoint Vertex %vert "vert" %a %vo 85 OpName %vert "vert" 120 %vert = OpFunction %void None %3 138 +OpEntryPoint Vertex %2 "vert" %7 %4 in TEST() 144 +OpName %2 "vert" in TEST() 237 OpEntryPoint Vertex %vert "vert" %a %vo in TEST() 270 %vert in TEST() [all...] |
/third_party/mesa3d/src/util/indices/ |
H A D | u_indices_gen.py | 113 def vert( intype, outtype, v0 ): function 120 print(' (' + ptr + ')[0] = ' + vert( intype, outtype, v0 ) + ';') 123 print(' (' + ptr + ')[0] = ' + vert( intype, outtype, v0 ) + ';') 124 print(' (' + ptr + ')[1] = ' + vert( intype, outtype, v1 ) + ';') 127 print(' (' + ptr + ')[0] = ' + vert( intype, outtype, v0 ) + ';') 128 print(' (' + ptr + ')[1] = ' + vert( intype, outtype, v1 ) + ';') 129 print(' (' + ptr + ')[2] = ' + vert( intype, outtype, v2 ) + ';') 132 print(' (' + ptr + ')[0] = ' + vert( intype, outtype, v0 ) + ';') 133 print(' (' + ptr + ')[1] = ' + vert( intype, outtype, v1 ) + ';') 134 print(' (' + ptr + ')[2] = ' + vert( intyp [all...] |
/third_party/skia/src/gpu/ops/ |
H A D | AAHairLinePathRenderer.cpp | 638 BezierVertex** vert) { in add_conics() 639 bloat_quad(p, toDevice, toSrc, *vert); in add_conics() 640 set_conic_coeffs(p, *vert, weight); in add_conics() 641 *vert += kQuadNumVertices; in add_conics() 648 BezierVertex** vert) { in add_quads() 670 memcpy(*vert, outVerts, kQuadNumVertices*sizeof(BezierVertex)); in add_quads() 671 *vert += kQuadNumVertices; in add_quads() 678 memcpy(*vert, outVerts, kQuadNumVertices * sizeof(BezierVertex)); in add_quads() 679 *vert += kQuadNumVertices; in add_quads() 685 LineVertex** vert) { in add_line() 634 add_conics(const SkPoint p[3], const SkScalar weight, const SkMatrix* toDevice, const SkMatrix* toSrc, BezierVertex** vert) add_conics() argument 644 add_quads(const SkPoint p[3], int subdiv, const SkMatrix* toDevice, const SkMatrix* toSrc, BezierVertex** vert) add_quads() argument 682 add_line(const SkPoint p[2], const SkMatrix* toSrc, uint8_t coverage, LineVertex** vert) add_line() argument [all...] |
/third_party/vk-gl-cts/modules/gles3/stress/ |
H A D | es3sLongRunningShaderTests.cpp | 126 std::ostringstream vert, frag; in genSources() local 128 vert << "#version 300 es\n" in genSources() 135 vert << "in highp int a_iterCount;\n"; in genSources() 138 vert << "flat out highp int v_iterCount;\n"; in genSources() 143 (isVertCase ? vert : frag) << "uniform highp int u_iterCount;\n"; in genSources() 147 vert << "out mediump vec4 v_color;\n"; in genSources() 153 vert << "\nvoid main (void)\n{\n" in genSources() 158 vert << " v_iterCount = a_iterCount;\n"; in genSources() 167 std::ostringstream& op = isVertCase ? vert : frag; in genSources() 197 vert << " v_colo in genSources() [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | DrawVertexAndIndexBufferOOBValidationTests.cpp | 403 uint32_t vert = vertexParams.maxValidAccessNumber; in TEST_F() local 405 // It is ok to draw vert vertices in TEST_F() 406 TestRenderPassDraw(pipeline, vertexBufferList, vert, 1, 0, 0, true); in TEST_F() 407 TestRenderPassDraw(pipeline, vertexBufferList, vert - 1, 1, 1, 0, true); in TEST_F() 408 // It is ok to draw vert vertices and inst instences in TEST_F() 409 TestRenderPassDraw(pipeline, vertexBufferList, vert, inst, 0, 0, true); in TEST_F() 410 TestRenderPassDraw(pipeline, vertexBufferList, vert, inst - 1, 0, 1, true); in TEST_F() 412 TestRenderPassDraw(pipeline, vertexBufferList, vert + 1, 1, 0, 0, false); in TEST_F() 413 TestRenderPassDraw(pipeline, vertexBufferList, vert, 1, 1, 0, false); in TEST_F() 414 TestRenderPassDraw(pipeline, vertexBufferList, vert in TEST_F() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_sanity.c | 421 uint vert; in iter_declaration() local 422 for (vert = 0; vert < ctx->implied_array_size; ++vert) { in iter_declaration() 424 fill_scan_register2d(reg, file, i, vert); in iter_declaration() 429 uint vert; in iter_declaration() local 430 for (vert = 0; vert < ctx->implied_out_array_size; ++vert) { in iter_declaration() 432 fill_scan_register2d(reg, file, i, vert); in iter_declaration() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/translate/ |
H A D | translate_generic.c | 592 void *vert) in generic_run_one() 599 uint8_t *dst = (uint8_t *)vert + tg->attrib[attr].output_offset; in generic_run_one() 663 char *vert = output_buffer; in generic_run_elts() local 667 generic_run_one(tg, *elts++, start_instance, instance_id, vert); in generic_run_elts() 668 vert += tg->translate.key.output_stride; in generic_run_elts() 681 char *vert = output_buffer; in generic_run_elts16() local 685 generic_run_one(tg, *elts++, start_instance, instance_id, vert); in generic_run_elts16() 686 vert += tg->translate.key.output_stride; in generic_run_elts16() 699 char *vert = output_buffer; in generic_run_elts8() local 703 generic_run_one(tg, *elts++, start_instance, instance_id, vert); in generic_run_elts8() 588 generic_run_one(struct translate_generic *tg, unsigned elt, unsigned start_instance, unsigned instance_id, void *vert) generic_run_one() argument 717 char *vert = output_buffer; generic_run() local [all...] |
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/ |
H A D | QrTemplate.java | 197 for (int vert = 0; vert < size; vert++) { // Vertical counter in generateZigzagScan() 201 int y = upward ? size - 1 - vert : vert; // Actual y coordinate in generateZigzagScan()
|
/third_party/skia/tools/viewer/ |
H A D | ImGuiLayer.cpp | 169 const ImDrawVert& vert = drawList->VtxBuffer[j]; in onPaint() local 170 pos.push_back(SkPoint::Make(vert.pos.x, vert.pos.y)); in onPaint() 171 uv.push_back(SkPoint::Make(vert.uv.x, vert.uv.y)); in onPaint() 172 color.push_back(vert.col); in onPaint()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fShaderTextureFunctionTests.cpp | 453 std::ostringstream vert; in initShaderSources() local 455 std::ostringstream& op = isVtxCase ? vert : frag; in initShaderSources() 457 vert << "attribute highp vec4 a_position;\n" in initShaderSources() 461 vert << "attribute " << coordPrecName << " float a_in1;\n"; in initShaderSources() 465 vert << "varying mediump vec4 v_color;\n"; in initShaderSources() 470 vert << "varying " << coordPrecName << " " << coordTypeName << " v_texCoord;\n"; in initShaderSources() 475 vert << "varying " << coordPrecName << " float v_lodBias;\n"; in initShaderSources() 483 vert << "\nvoid main()\n{\n" in initShaderSources() 488 vert << "\tv_color = "; in initShaderSources() 510 vert << "\tv_texCoor in initShaderSources() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pipe_clip.c | 312 struct vertex_header *vert, in getclipdist() 320 dp = dot4(vert->clip_pos, plane); in getclipdist() 327 dp = vert->data[draw_current_shader_ccdistance_output(clipper->stage.draw, cdi)][vidx]; in getclipdist() 334 dp = dot4(vert->data[clipper->cv_attr], plane); in getclipdist() 337 dp = dot4(vert->clip_pos, plane); in getclipdist() 436 struct vertex_header *vert = inlist[i]; in do_clip_tri() local 440 float dp = getclipdist(clipper, vert, plane_idx); in do_clip_tri() 479 interp( clipper, new_vert, t, vert, vert_prev, viewport_index ); in do_clip_tri() 482 interp( clipper, new_vert, t, vert_prev, vert, viewport_index ); in do_clip_tri() 485 /* Whether or not to set edge flag for the new vert depend in do_clip_tri() 311 getclipdist(const struct clip_stage *clipper, struct vertex_header *vert, int plane_idx) getclipdist() argument [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_draw_hw_select.c | 215 clip_with_plane(nir_builder *b, nir_variable *vert, nir_variable *num_vert, in clip_with_plane() argument 228 nir_ssa_def *v = nir_load_array_var(b, vert, idx); in clip_with_plane() 258 * original vert to be used by following calculation. in clip_with_plane() 282 * but need to save vert[idx] when vert_index==idx in clip_with_plane() 285 nir_ssa_def *vi = nir_load_array_var(b, vert, idx); in clip_with_plane() 288 nir_ssa_def *vp = nir_load_array_var(b, vert, prev); in clip_with_plane() 291 nir_store_array_var(b, vert, index, iv, 0xf); in clip_with_plane() 312 nir_load_array_var(b, vert, idx)); in clip_with_plane() 313 nir_ssa_def *vn = nir_load_array_var(b, vert, next); in clip_with_plane() 316 nir_store_var(b, saved, nir_load_array_var(b, vert, inde in clip_with_plane() 556 nir_variable *vert = nir_local_variable_create( build_planar_primitive_nir_shader() local [all...] |
/third_party/skia/docs/examples/ |
H A D | Src_Over.cpp | 15 SkPoint vert[] = { { 0, 0 }, { 0, 256 } }; in REG_FIDDLE() local 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), in REG_FIDDLE()
|
H A D | Src_Out.cpp | 15 SkPoint vert[] = { { 0, 0 }, { 0, 256 } }; in REG_FIDDLE() local 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), in REG_FIDDLE()
|
H A D | Screen.cpp | 15 SkPoint vert[] = { { 0, 0 }, { 0, 256 } }; in REG_FIDDLE() local 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), in REG_FIDDLE()
|
H A D | Src_Atop.cpp | 15 SkPoint vert[] = { { 0, 0 }, { 0, 256 } }; in REG_FIDDLE() local 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), in REG_FIDDLE()
|
H A D | Src_In.cpp | 15 SkPoint vert[] = { { 0, 0 }, { 0, 256 } }; in REG_FIDDLE() local 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), in REG_FIDDLE()
|
H A D | Overlay.cpp | 15 SkPoint vert[] = { { 0, 0 }, { 0, 256 } }; in REG_FIDDLE() local 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), in REG_FIDDLE()
|
H A D | Dst_Atop.cpp | 15 SkPoint vert[] = { { 0, 0 }, { 0, 256 } }; in REG_FIDDLE() local 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), in REG_FIDDLE()
|
H A D | Dst_In.cpp | 15 SkPoint vert[] = { { 0, 0 }, { 0, 256 } }; in REG_FIDDLE() local 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), in REG_FIDDLE()
|
H A D | Difference.cpp | 14 SkPoint vert[] = { { 0, 0 }, { 0, 256 } }; in REG_FIDDLE() local 15 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), in REG_FIDDLE()
|
H A D | Multiply.cpp | 14 SkPoint vert[] = { { 0, 0 }, { 0, 256 } }; in REG_FIDDLE() local 15 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), in REG_FIDDLE()
|
H A D | Dst_Over.cpp | 15 SkPoint vert[] = { { 0, 0 }, { 0, 256 } }; in REG_FIDDLE() local 16 paint.setShader(SkGradientShader::MakeLinear(vert, alphas, nullptr, SK_ARRAY_COUNT(alphas), in REG_FIDDLE()
|