HomeSort by relevance Sort by last modified time
    Searched refs:Vec2 (Results 1 - 25 of 226) sorted by null

1 2 3 4 5 6 7 8 910

  /external/clang/test/CodeGen/
arm_function_epilog.cpp 4 struct Vec2 {
10 // CHECK: define arm_aapcs_vfpcc %struct.Vec2 @_Z7getVec2v()
11 // CHECK: ret %struct.Vec2
12 Vec2 getVec2() {
13 Vec2 out;
14 union { Vec2* v; unsigned char* u; } x;
  /external/swiftshader/third_party/LLVM/unittests/ADT/
PackedVectorTest.cpp 34 PackedVector<unsigned, 2> Vec2(3);
35 EXPECT_EQ(3U, Vec2.size());
36 EXPECT_FALSE(Vec2.empty());
52 EXPECT_FALSE(Vec == Vec2);
53 EXPECT_TRUE(Vec != Vec2);
55 Vec2.swap(Vec);
62 EXPECT_EQ(2U, Vec2[0]);
63 EXPECT_EQ(0U, Vec2[1]);
64 EXPECT_EQ(1U, Vec2[2]);
65 EXPECT_EQ(3U, Vec2[3])
    [all...]
  /cts/apps/CtsVerifier/include/colorchecker/
vec2.h 24 class Vec2{
26 Vec2(T inputX, T inputY) {
31 Vec2() {}
33 inline Vec2<T> operator+ (const Vec2<T> &param) const {
34 Vec2<T> temp(mX + param.x(), mY + param.y());
38 inline Vec2<T> operator- (const Vec2<T> &param) const {
39 Vec2<T> temp(mX - param.x(), mY - param.y());
43 inline Vec2<float> operator/ (const int param) const
    [all...]
  /external/llvm/unittests/ADT/
PackedVectorTest.cpp 34 PackedVector<unsigned, 2> Vec2(3);
35 EXPECT_EQ(3U, Vec2.size());
36 EXPECT_FALSE(Vec2.empty());
52 EXPECT_FALSE(Vec == Vec2);
53 EXPECT_TRUE(Vec != Vec2);
55 Vec = Vec2;
56 EXPECT_TRUE(Vec == Vec2);
57 EXPECT_FALSE(Vec != Vec2);
60 Vec2[1] = 2;
61 Vec |= Vec2;
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
PackedVectorTest.cpp 34 PackedVector<unsigned, 2> Vec2(3);
35 EXPECT_EQ(3U, Vec2.size());
36 EXPECT_FALSE(Vec2.empty());
52 EXPECT_FALSE(Vec == Vec2);
53 EXPECT_TRUE(Vec != Vec2);
55 Vec = Vec2;
56 EXPECT_TRUE(Vec == Vec2);
57 EXPECT_FALSE(Vec != Vec2);
60 Vec2[1] = 2;
61 Vec |= Vec2;
    [all...]
  /external/deqp/framework/common/
tcuTexLookupVerifier.hpp 106 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dudy, const LodPrecision& prec);
107 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const float dvdy, const LodPrecision& prec);
108 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const float dudy, const float dvdy, const float dwdy, const LodPrecision& prec);
109 Vec2 computeCubeLodBoundsFromDerivates (const Vec3& coord, const Vec3& coordDx, const Vec3& coordDy, const int faceSize, const LodPrecision& prec);
111 Vec2 clampLodBounds (const Vec2& lodBounds, const Vec2& lodMinMax, const LodPrecision& prec);
113 bool isLookupResultValid (const Texture1DView& texture, const Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& result);
114 bool isLookupResultValid (const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result)
    [all...]
tcuTexCompareVerifier.hpp 55 bool isTexCompareResultValid (const Texture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const Vec2& lodBounds, const float cmpReference, const float result);
56 bool isTexCompareResultValid (const TextureCubeView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmpReference, const float result);
57 bool isTexCompareResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmpReference, const float result);
59 bool isGatherOffsetsCompareResultValid (const Texture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const IVec2 (&offsets)[4], float cmpReference, const Vec4& result);
tcuRasterizationVerifier.cpp 82 const tcu::Vec2 u (p1.x() / p1.w() - p0.x() / p0.w(), p1.y() / p1.w() - p0.y() / p0.w());
83 const tcu::Vec2 v (p2.x() / p2.w() - p0.x() / p0.w(), p2.y() / p2.w() - p0.y() / p0.w());
100 bool pixelNearLineSegment (const tcu::IVec2& pixel, const tcu::Vec2& p0, const tcu::Vec2& p1)
102 const tcu::Vec2 pixelCenterPosition = tcu::Vec2((float)pixel.x() + 0.5f, (float)pixel.y() + 0.5f);
110 const tcu::Vec2 line = p1 - p0;
111 const tcu::Vec2 v = pixelCenterPosition - p0;
141 const tcu::Vec2 triangleNormalizedDeviceSpace[3] =
143 tcu::Vec2(triangle.positions[0].x() / triangle.positions[0].w(), triangle.positions[0].y() / triangle.positi (…)
    [all...]
tcuTexLookupVerifier.cpp 251 const Vec2& fBounds,
289 const Vec2& xBounds,
290 const Vec2& yBounds,
318 const Vec2& xBounds,
319 const Vec2& yBounds,
320 const Vec2& zBounds,
400 const Vec2& xBounds0,
401 const Vec2& xBounds1,
402 const Vec2& zBounds,
437 const Vec2& xBounds0
    [all...]
tcuVectorType.hpp 39 typedef Vector<float, 2> Vec2;
tcuTexCompareVerifier.cpp 194 const Vec2& depths,
195 const Vec2& fBounds,
290 const Vec2& xBounds,
291 const Vec2& yBounds,
363 const Vec2& xBounds,
364 const Vec2& yBounds,
424 const Vec2& xBounds0,
425 const Vec2& yBounds0,
426 const Vec2& xBounds1,
427 const Vec2& yBounds1
    [all...]
  /external/deqp/modules/gles31/functional/
es31fTextureFilteringTests.cpp 139 tcu::Vec2 bottomLeft;
140 tcu::Vec2 topRight;
141 tcu::Vec2 layerRange;
148 FilterCase (const glu::TextureCubeArray* tex_, const tcu::Vec2& bottomLeft_, const tcu::Vec2& topRight_, const tcu::Vec2& layerRange_)
276 m_cases.push_back(FilterCase(tex0, tcu::Vec2(-0.8f, -0.8f), tcu::Vec2(0.8f, 0.8f), tcu::Vec2(-0.5f, float(numLayers)+0.5f))); // minification
277 m_cases.push_back(FilterCase(tex0, tcu::Vec2(0.5f, 0.65f), tcu::Vec2(0.8f, 0.8f), tcu::Vec2(-0.5f, float(numLayers)+0.5f))); // magnificatio
    [all...]
es31fMultisampleTests.cpp 45 using tcu::Vec2;
141 tcu::Vec2 samplePos = tcu::Vec2(-1, -1);
177 void renderTriangle (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec4& c0, const Vec4& c1, const Vec4& c2) const;
178 void renderTriangle (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec4& color) const;
179 void renderQuad (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec2& p3, const Vec4& c0, const Vec4& c1, const Vec4& c (…)
    [all...]
  /external/deqp/modules/gles2/functional/
es2fMultisampleTests.cpp 50 using tcu::Vec2;
65 Vec2 p0;
66 Vec2 p1;
67 Vec2 p2;
68 Vec2 p3;
70 QuadCorners(const Vec2& p0_, const Vec2& p1_, const Vec2& p2_, const Vec2& p3_) : p0(p0_), p1(p1_), p2(p2_), p3(p3_) {}
189 void renderTriangle (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec4& c0, const Vec4& c1, const Vec4& c2) const
    [all...]
es2fVertexTextureTests.cpp 46 using tcu::Vec2;
109 static inline Vec2 safe2DTexCoords (const Vec2& raw, const IVec2& textureSize)
111 return safeCoords(raw, textureSize, Vec2(0.5f));
149 Vec2 scale;
150 Vec2 bias;
152 TexTypeCoordParams (const Vec2& scale_, const Vec2& bias_) : scale(scale_), bias(bias_) {}
158 Vec2 scale;
159 Vec2 bias
    [all...]
es2fTextureMipmapTests.cpp 53 using tcu::Vec2;
191 Vec2 bottomLeft;
192 Vec2 topRight;
195 { Vec2(-0.1f, 0.1f), Vec2( 0.8f, 1.0f) },
196 { Vec2(-0.3f, -0.6f), Vec2( 0.7f, 0.4f) },
197 { Vec2(-0.3f, 0.6f), Vec2( 0.7f, -0.9f) },
198 { Vec2(-0.8f, 0.6f), Vec2( 0.7f, -0.9f) }
    [all...]
  /external/deqp/modules/gles3/functional/
es3fMultisampleTests.cpp 51 using tcu::Vec2;
67 Vec2 p0;
68 Vec2 p1;
69 Vec2 p2;
70 Vec2 p3;
72 QuadCorners(const Vec2& p0_, const Vec2& p1_, const Vec2& p2_, const Vec2& p3_) : p0(p0_), p1(p1_), p2(p2_), p3(p3_) {}
213 void renderTriangle (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec4& c0, const Vec4& c1, const Vec4& c2) const
    [all...]
es3fShaderPackingFunctionTests.cpp 160 std::vector<tcu::Vec2> inputs;
167 inputs.push_back(tcu::Vec2(0.0f, 0.0f));
168 inputs.push_back(tcu::Vec2(-1.0f, 1.0f));
169 inputs.push_back(tcu::Vec2(0.5f, -0.5f));
170 inputs.push_back(tcu::Vec2(-1.5f, 1.5f));
171 inputs.push_back(tcu::Vec2(0.25f, -0.75f));
178 inputs.push_back(tcu::Vec2(x, y));
186 inputs.push_back(tcu::Vec2(x, y));
265 std::vector<tcu::Vec2> outputs;
313 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")
    [all...]
es3fVertexTextureTests.cpp 45 using tcu::Vec2;
126 static inline Vec2 safe2DTexCoords (const Vec2& raw, const IVec2& textureSize)
128 return safeCoords(raw, textureSize, Vec2(0.5f));
182 Vec2 scale;
183 Vec2 bias;
185 TexTypeCoordParams (const Vec2& scale_, const Vec2& bias_) : scale(scale_), bias(bias_) {}
191 Vec2 scale;
192 Vec2 bias
    [all...]
  /external/deqp/modules/gles2/accuracy/
es2aTextureMipmapTests.cpp 53 using tcu::Vec2;
188 Vec2 bottomLeft;
189 Vec2 topRight;
192 { Vec2(-0.1f, 0.1f), Vec2( 0.8f, 1.0f) },
193 { Vec2(-0.3f, -0.6f), Vec2( 0.7f, 0.4f) },
194 { Vec2(-0.3f, 0.6f), Vec2( 0.7f, -0.9f) },
195 { Vec2(-0.8f, 0.6f), Vec2( 0.7f, -0.9f) }
    [all...]
  /external/deqp/modules/gles3/accuracy/
es3aTextureMipmapTests.cpp 50 using tcu::Vec2;
179 Vec2 bottomLeft;
180 Vec2 topRight;
183 { Vec2(-0.1f, 0.1f), Vec2( 0.8f, 1.0f) },
184 { Vec2(-0.3f, -0.6f), Vec2( 0.7f, 0.4f) },
185 { Vec2(-0.3f, 0.6f), Vec2( 0.7f, -0.9f) },
186 { Vec2(-0.8f, 0.6f), Vec2( 0.7f, -0.9f) }
    [all...]
es3aTextureFilteringTests.cpp 231 computeQuadTexCoord2D(texCoord, tcu::Vec2(-4.0f, -4.5f), tcu::Vec2(4.0f, 2.5f));
242 computeQuadTexCoord2D(texCoord, tcu::Vec2(-0.5f, 0.75f), tcu::Vec2(0.25f, 1.25f));
271 computeQuadTexCoord2D(texCoord, tcu::Vec2(sMin, tMin), tcu::Vec2(sMin+sRange, tMin+tRange));
282 computeQuadTexCoord2D(texCoord, tcu::Vec2(-0.5f, 0.75f), tcu::Vec2(0.25f, 1.25f));
486 const tcu::Vec2& bottomLeft,
487 const tcu::Vec2& topRight
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/texture/
vktSampleVerifierUtil.hpp 47 tcu::Vec2 calcLodBounds (const tcu::Vec3& dPdx,
53 tcu::UVec2 calcLevelBounds (const tcu::Vec2& lodBounds,
56 tcu::Vec2 calcLevelLodBounds (const tcu::Vec2& lodBounds,
81 tcu::Vec2& coordFace,
82 tcu::Vec2& dPdxFace,
83 tcu::Vec2& dPdyFace);
  /external/deqp/framework/opengl/
gluTextureTestUtil.cpp     [all...]
  /external/deqp/modules/gles2/performance/
es2pTextureFilteringTests.cpp 77 tcu::Mat3 minTransform = tcu::translationMatrix(tcu::Vec2(-0.3f, -0.6f)) * tcu::Mat3(tcu::Vec3(1.7f, 2.3f, 1.0f));
78 tcu::Mat3 magTransform = tcu::translationMatrix(tcu::Vec2( 0.3f, 0.4f)) * tcu::Mat3(tcu::Vec3(0.3f, 0.2f, 1.0f));

Completed in 722 milliseconds

1 2 3 4 5 6 7 8 910