| /third_party/glslang/glslang/MachineIndependent/ |
| D | propagateNoContraction.cpp | 2 // Copyright (C) 2015-2016 Google, Inc. 82 return node->getType().getQualifier().isNoContraction(); in isPreciseObjectNode() 134 assert(node->getAsConstantUnion() && node->getAsConstantUnion()->isScalar()); in getStructIndexFromConstantUnion() 135 unsigned struct_dereference_index = node->getAsConstantUnion()->getConstArray()[0].getUConst(); in getStructIndexFromConstantUnion() 143 std::to_string(node->getId()) + "(" + node->getName().c_str() + ")"; in generateSymbolLabel() 232 // 2) A set of access chains of the initial precise object nodes. 253 // The set of symbol node IDs for precise symbol nodes, the ones marked as 256 // The set of precise return nodes. 299 if (node->getOp() == glslang::EOpFunction) { in visitAggregate() 305 glslang::TIntermSequence& seq = node->getSequence(); in visitAggregate() [all …]
|
| /third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
| D | Precise_test.cpp | 3 // Use of this source code is governed by a BSD-style license that can be 7 // Test that precise produces the right number of NoContraction decorations in the generated 8 // SPIR-V. 114 // Parse the SPIR-V and verify that there are as many NoContraction decorations as expected. 164 // Test that precise on a local variable works. 173 float f1 = u, f2 = u; // f1 is precise, but f2 isn't. in TEST_F() 181 int i1 = int(f3); // i1 is precise in TEST_F() 183 --i1; // NoContraction in TEST_F() 185 i1--; // NoContraction in TEST_F() 188 f2 -= float(i2); in TEST_F() [all …]
|
| /third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
| D | FindPreciseNodes.cpp | 3 // Use of this source code is governed by a BSD-style license that can be 6 // FindPreciseNodes.cpp: Propagates |precise| to AST nodes. 8 // The high level algorithm is as follows. For every node that "assigns" to a precise object, 9 // subobject (a precise struct whose field is being assigned) or superobject (a struct with a 10 // precise field), two things happen: 12 // - The operation is marked precise if it's an arithmetic operation 13 // - The right hand side of the assignment is made precise. If only a subobject is precise, only 14 // the corresponding subobject of the right hand side is made precise. 31 // An access chain applied to a variable. The |precise|-ness of a node does not change when 34 // that is or should be |precise|. If both a.b.c and a.b are precise, only a.b is every considered. [all …]
|
| /third_party/openGLES/extensions/OES/ |
| D | OES_gpu_shader5.txt | 20 Bill Licea-Kane, Qualcomm 30 Copyright (c) 2010-2013 The Khronos Group Inc. Copyright terms at 35 Khronos-approved extension specifications are updated in response to 43 Portions Copyright (c) 2013-2014 NVIDIA Corporation. 91 * a "precise" qualifier allowing computations to be carried out exactly 92 as specified in the shader source to avoid optimization-induced 95 * new built-in functions supporting: 97 * fused floating-point multiply-add operations; 99 * extending the textureGather() built-in functions provided by 102 * allowing shaders to use arbitrary offsets computed at run-time to [all …]
|
| /third_party/skia/third_party/externals/opengl-registry/extensions/OES/ |
| D | OES_gpu_shader5.txt | 20 Bill Licea-Kane, Qualcomm 30 Copyright (c) 2010-2013 The Khronos Group Inc. Copyright terms at 33 Portions Copyright (c) 2013-2014 NVIDIA Corporation. 81 * a "precise" qualifier allowing computations to be carried out exactly 82 as specified in the shader source to avoid optimization-induced 85 * new built-in functions supporting: 87 * fused floating-point multiply-add operations; 89 * extending the textureGather() built-in functions provided by 92 * allowing shaders to use arbitrary offsets computed at run-time to 113 The textureGatherOffsets built-in shader functions return a vector [all …]
|
| /third_party/skia/third_party/externals/opengl-registry/extensions/EXT/ |
| D | EXT_gpu_shader5.txt | 20 Bill Licea-Kane, Qualcomm 30 Copyright (c) 2010-2013 The Khronos Group Inc. Copyright terms at 33 Portions Copyright (c) 2013-2014 NVIDIA Corporation. 80 * a "precise" qualifier allowing computations to be carried out exactly 81 as specified in the shader source to avoid optimization-induced 84 * new built-in functions supporting: 86 * fused floating-point multiply-add operations; 88 * extending the textureGather() built-in functions provided by 91 * allowing shaders to use arbitrary offsets computed at run-time to 112 The textureGatherOffsets built-in shader functions return a vector [all …]
|
| /third_party/openGLES/extensions/EXT/ |
| D | EXT_gpu_shader5.txt | 20 Bill Licea-Kane, Qualcomm 30 Copyright (c) 2010-2013 The Khronos Group Inc. Copyright terms at 33 Portions Copyright (c) 2013-2014 NVIDIA Corporation. 80 * a "precise" qualifier allowing computations to be carried out exactly 81 as specified in the shader source to avoid optimization-induced 84 * new built-in functions supporting: 86 * fused floating-point multiply-add operations; 88 * extending the textureGather() built-in functions provided by 91 * allowing shaders to use arbitrary offsets computed at run-time to 112 The textureGatherOffsets built-in shader functions return a vector [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
| D | MemoryLocation.cpp | 1 //===- MemoryLocation.cpp - Memory location descriptions -------------------==// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 30 OS << "precise(" << getValue() << ')'; in print() 37 LI->getAAMetadata(AATags); in get() 38 const auto &DL = LI->getModule()->getDataLayout(); in get() 41 LI->getPointerOperand(), in get() 42 LocationSize::precise(DL.getTypeStoreSize(LI->getType())), AATags); in get() 47 SI->getAAMetadata(AATags); in get() 48 const auto &DL = SI->getModule()->getDataLayout(); in get() [all …]
|
| /third_party/vk-gl-cts/modules/gles31/functional/ |
| D | es31fNegativePreciseTests.cpp | 1 /*------------------------------------------------------------------------- 3 * ------------------------------------------------- 11 * http://www.apache.org/licenses/LICENSE-2.0 21 * \brief Negative Precise Tests 22 *//*--------------------------------------------------------------------*/ 74 case TEST_PRECISE_AS_MACRO_NAME: source << "#define precise 0\n"; break; in generateShaderSource() 78 case TEST_PRECISE_MACRO_AND_ARGUMENT: source << "#define precise aName\n"; break; in generateShaderSource() 109 << "void precise()\n" in generateShaderSource() 117 << "void example(int precise)\n" in generateShaderSource() 132 case TEST_PRECISE_MACRO_AND_VARIABLE: source << " int precise = 1;\n"; break; in generateShaderSource() [all …]
|
| /third_party/glslang/Test/ |
| D | precise.tesc | 6 precise float result = 5.0; 16 precise float result = 5.0; 23 precise double result; 31 precise float r1 = 5.0; 32 precise float r2 = 10.0; 46 precise float result; 57 // result + 1 and 3 - rvalue should be 'noContraction'. 58 a0[i] = 3 - result++; 63 precise float result = 5.0; 74 precise float result; [all …]
|
| D | specExamples.vert | 115 precise out vec4 position; 118 precise Color5; // make existing Color be precise 120 precise out vec4 v; 148 precise float result = (e*f) + (g*h); // ensures same precision for 153 float func3(float i, float j, precise out float k) 155 k = i * i + j; // precise, due to <k> declaration 160 vec3 r = vec3(a * b); // precise, used to compute v.xyz 161 vec3 s = vec3(c * d); // precise, used to compute v.xyz 162 v.xyz = r + s; // precise 163 v.w = (a.w * b.w) + (c.w * d.w); // precise [all …]
|
| D | precise_struct_block.vert | 8 out B1 {precise T s; float x;} partial_precise_block; 9 precise out B2 {T s; float x;} all_precise_block; 17 precise float result; 24 S = S2; // "precise" propagated through parent object nodes 31 precise float result; 71 + t3[i - 1].v.xy.x; // NoContraction 79 partial_precise_block.s.f2 = a - b; // NoContraction 83 all_precise_block.s.f2 = a - b - 1.0; // NoContraction
|
| /third_party/skia/third_party/externals/spirv-cross/reference/shaders/vert/ |
| D | no-contraction.vert | 9 precise vec4 _15 = vA * vB; 11 precise vec4 _19 = vA + vB; 13 precise vec4 _23 = vA - vB; 15 precise vec4 _27 = vA * vB; 16 precise vec4 _30 = _27 + vC; 18 precise vec4 _34 = mul + add; 19 precise vec4 _36 = _34 + sub; 20 precise vec4 _38 = _36 + mad;
|
| /third_party/skia/third_party/externals/spirv-cross/reference/shaders-hlsl/vert/ |
| D | no-contraction.vert | 20 precise float4 _15 = vA * vB; 22 precise float4 _19 = vA + vB; 24 precise float4 _23 = vA - vB; 26 precise float4 _27 = vA * vB; 27 precise float4 _30 = _27 + vC; 29 precise float4 _34 = mul + add; 30 precise float4 _36 = _34 + sub; 31 precise float4 _38 = _36 + mad;
|
| /third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders/vert/ |
| D | no-contraction.vert | 9 precise vec4 _15 = vA * vB; 10 precise vec4 _19 = vA + vB; 11 precise vec4 _23 = vA - vB; 12 precise vec4 _30 = _15 + vC; 13 precise vec4 _34 = _15 + _19; 14 precise vec4 _36 = _34 + _23; 15 precise vec4 _38 = _36 + _30;
|
| /third_party/mesa3d/src/compiler/glsl/ |
| D | propagate_invariance.cpp | 26 * Propagate the "invariant" and "precise" qualifiers to variables used to 27 * compute invariant or precise values. 30 * conditions for getting bit-for-bit the same values on an invariant output: 38 * "precise" qualifier. 53 this->progress = false; in ir_invariance_propagation_visitor() 54 this->dst_var = NULL; in ir_invariance_propagation_visitor() 75 assert(this->dst_var == NULL); in visit_enter() 76 ir_variable *var = ir->lhs->variable_referenced(); in visit_enter() 77 if (var->data.invariant || var->data.precise) { in visit_enter() 78 this->dst_var = var; in visit_enter() [all …]
|
| /third_party/openGLES/extensions/ARB/ |
| D | ARB_gpu_shader5.txt | 16 Bill Licea-Kane, AMD 29 Copyright (c) 2010-2013 The Khronos Group Inc. Copyright terms at 34 Khronos-approved extension specifications are updated in response to 86 * support for indexing into arrays of samplers using non-constant 98 * a "precise" qualifier allowing computations to be carried out exactly 99 as specified in the shader source to avoid optimization-induced 102 * new built-in functions supporting: 104 * fused floating-point multiply-add operations; 106 * splitting a floating-point number into a significand and exponent 107 (frexp), or building a floating-point number from a significand and [all …]
|
| /third_party/skia/third_party/externals/opengl-registry/extensions/ARB/ |
| D | ARB_gpu_shader5.txt | 16 Bill Licea-Kane, AMD 29 Copyright (c) 2010-2013 The Khronos Group Inc. Copyright terms at 76 * support for indexing into arrays of samplers using non-constant 88 * a "precise" qualifier allowing computations to be carried out exactly 89 as specified in the shader source to avoid optimization-induced 92 * new built-in functions supporting: 94 * fused floating-point multiply-add operations; 96 * splitting a floating-point number into a significand and exponent 97 (frexp), or building a floating-point number from a significand and 104 * packing and unpacking vectors of small fixed-point data types into a [all …]
|
| /third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-hlsl/vert/ |
| D | no-contraction.vert | 20 precise float4 _15 = vA * vB; 21 precise float4 _19 = vA + vB; 22 precise float4 _23 = vA - vB; 23 precise float4 _30 = _15 + vC; 24 precise float4 _34 = _15 + _19; 25 precise float4 _36 = _34 + _23; 26 precise float4 _38 = _36 + _30;
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
| D | MemoryLocation.h | 1 //===- MemoryLocation.h - Memory location descriptions ----------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===// 37 // it contains, N, is 'precise'. Precise, in this context, means that we know 40 // precise values, and can conservatively represent all of the values unioned 41 // into it. Importantly, imprecise values are an *upper-bound* on the size of a 44 // Concretely, a precise MemoryLocation is (%p, 4) in 64 MapEmpty = Unknown - 1, 65 MapTombstone = Unknown - 2, [all …]
|
| /third_party/skia/third_party/externals/spirv-cross/shaders/vert/ |
| D | no-contraction.vert | 9 precise vec4 mul = vA * vB; 10 precise vec4 add = vA + vB; 11 precise vec4 sub = vA - vB; 12 precise vec4 mad = vA * vB + vC; 13 precise vec4 summed = mul + add + sub + mad;
|
| /third_party/skia/third_party/externals/spirv-cross/shaders-msl/vert/ |
| D | no-contraction.vert | 9 precise vec4 mul = vA * vB; 10 precise vec4 add = vA + vB; 11 precise vec4 sub = vA - vB; 12 precise vec4 mad = vA * vB + vC; 13 precise vec4 summed = mul + add + sub + mad;
|
| /third_party/skia/third_party/externals/spirv-cross/shaders-hlsl/vert/ |
| D | no-contraction.vert | 9 precise vec4 mul = vA * vB; 10 precise vec4 add = vA + vB; 11 precise vec4 sub = vA - vB; 12 precise vec4 mad = vA * vB + vC; 13 precise vec4 summed = mul + add + sub + mad;
|
| /third_party/rust/rust/tests/ui/pattern/usefulness/integer-ranges/ |
| D | pointer-sized-int.deny.stderr | 1 error[E0004]: non-exhaustive patterns: `_` not covered 2 --> $DIR/pointer-sized-int.rs:12:11 9 …feature(precise_pointer_size_matching)]` to the crate attributes to enable precise `usize` matching 16 error[E0004]: non-exhaustive patterns: `_` not covered 17 --> $DIR/pointer-sized-int.rs:17:11 24 …feature(precise_pointer_size_matching)]` to the crate attributes to enable precise `isize` matching 31 error[E0004]: non-exhaustive patterns: `_` not covered 32 --> $DIR/pointer-sized-int.rs:22:8 39 …feature(precise_pointer_size_matching)]` to the crate attributes to enable precise `usize` matching 45 error[E0004]: non-exhaustive patterns: `_` not covered [all …]
|
| /third_party/vk-gl-cts/external/openglcts/modules/glesext/gpu_shader5/ |
| D | esextcGPUShader5PreciseQualifier.hpp | 3 /*------------------------------------------------------------------------- 5 * ----------------------------- 7 * Copyright (c) 2014-2016 The Khronos Group Inc. 13 * http://www.apache.org/licenses/LICENSE-2.0 24 */ /*-------------------------------------------------------------------*/ 28 * \brief GPUShader5 Precise Float Test (Test Group 6) 29 */ /*-------------------------------------------------------------------*/ 37 * Test whether the qualifier 'precise' prevents implementations from 47 * crack-free position calculation during tessellation, we should get 48 * with using 'precise' a bitwise accurate result regardless of the order [all …]
|