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

12 3 4 5 6 7 8 910

  /external/deqp/modules/gles3/performance/
es3pTextureFilteringTests.cpp 78 tcu::Mat3 minTransform = tcu::translationMatrix(tcu::Vec2(-0.3f, -0.6f)) * tcu::Mat3(tcu::Vec3(1.7f, 2.3f, 1.0f));
79 tcu::Mat3 magTransform = tcu::translationMatrix(tcu::Vec2( 0.3f, 0.4f)) * tcu::Mat3(tcu::Vec3(0.3f, 0.2f, 1.0f));
es3pTextureCases.cpp 46 using tcu::Vec2;
120 Vec2 p00 = (m_coordTransform * Vec3(0.0f, 0.0f, 1.0f)).swizzle(0,1);
121 Vec2 p10 = (m_coordTransform * Vec3(1.0f, 0.0f, 1.0f)).swizzle(0,1);
122 Vec2 p01 = (m_coordTransform * Vec3(0.0f, 1.0f, 1.0f)).swizzle(0,1);
123 Vec2 p11 = (m_coordTransform * Vec3(1.0f, 1.0f, 1.0f)).swizzle(0,1);
144 "in mediump vec2 a_coords;\n"
145 "out mediump vec2 v_coords;\n"
155 fragSrc << "in mediump vec2 v_coords;\n";
  /external/deqp/modules/glshared/
glsCalibration.hpp 49 LineParameters theilSenLinearRegression (const std::vector<tcu::Vec2>& dataPoints);
66 LineParametersWithConfidence theilSenSiegelLinearRegression (const std::vector<tcu::Vec2>& dataPoints, float reportedConfidence);
glsFragmentOpUtil.hpp 47 tcu::Vec2 posA;
48 tcu::Vec2 posB;
glsCalibration.cpp 36 using tcu::Vec2;
60 LineParameters theilSenLinearRegression (const std::vector<tcu::Vec2>& dataPoints)
72 const Vec2& ptA = dataPoints[i];
76 const Vec2& ptB = dataPoints[j];
120 LineParametersWithConfidence theilSenSiegelLinearRegression (const std::vector<tcu::Vec2>& dataPoints, float reportedConfidence)
135 const tcu::Vec2& ptA = dataPoints[i];
142 const tcu::Vec2& ptB = dataPoints[j];
351 vector<Vec2> dataPoints;
355 dataPoints.push_back(Vec2((float)m_calibrateIterations[i].numDrawCalls, m_calibrateIterations[i].frameTime));
359 dataPoints.push_back(Vec2(0.0f, 0.0f)); // If there's just one measurement so far, this will help in getting the next estima (…)
    [all...]
  /external/deqp/modules/gles2/accuracy/
es2aTextureFilteringTests.cpp 241 computeQuadTexCoord2D(texCoord, tcu::Vec2(-4.0f, -4.5f), tcu::Vec2(4.0f, 2.5f));
252 computeQuadTexCoord2D(texCoord, tcu::Vec2(-0.5f, 0.75f), tcu::Vec2(0.25f, 1.25f));
281 computeQuadTexCoord2D(texCoord, tcu::Vec2(sMin, tMin), tcu::Vec2(sMin+sRange, tMin+tRange));
292 computeQuadTexCoord2D(texCoord, tcu::Vec2(-0.5f, 0.75f), tcu::Vec2(0.25f, 1.25f));
477 const tcu::Vec2& bottomLeft,
478 const tcu::Vec2& topRight
    [all...]
  /external/deqp/modules/gles31/functional/
es31fShaderCommonFunctionTests.cpp 49 using tcu::Vec2;
510 const Vec2 floatRanges[] =
512 Vec2(-2.0f, 2.0f), // lowp
513 Vec2(-1e3f, 1e3f), // mediump
514 Vec2(-1e7f, 1e7f) // highp
592 const Vec2 floatRanges[] =
594 Vec2(-2.0f, 2.0f), // lowp
595 Vec2(-1e4f, 1e4f), // mediump - note: may end up as inf
596 Vec2(-1e8f, 1e8f) // highp - note: may end up as inf
698 const Vec2 ranges[]
    [all...]
es31fShaderPackingFunctionTests.cpp 164 std::vector<tcu::Vec2> inputs;
171 inputs.push_back(tcu::Vec2(0.0f, 0.0f));
172 inputs.push_back(tcu::Vec2(-1.0f, 1.0f));
173 inputs.push_back(tcu::Vec2(0.5f, -0.5f));
174 inputs.push_back(tcu::Vec2(-1.5f, 1.5f));
175 inputs.push_back(tcu::Vec2(0.25f, -0.75f));
182 inputs.push_back(tcu::Vec2(x, y));
190 inputs.push_back(tcu::Vec2(x, y));
269 std::vector<tcu::Vec2> outputs;
317 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")
    [all...]
  /external/deqp/modules/gles2/scripts/
genutil.py 226 def toVec2(self): return Vec2(self.x, self.x)
283 elif isinstance(val, Vec2):
284 return Vec2(self.x * val.x, self.x * val.y)
295 elif isinstance(val, Vec2):
296 return Vec2(self.x / val.x, self.x / val.y)
309 elif (len(lst) == 2): return Vec2(lst[0], lst[1])
331 class Vec2(Vec):
337 def applyUnary(self, func): return Vec2(func(self.x), func(self.y))
338 def applyBinary(self, func, other): return Vec2(func(self.x, other.x), func(self.y, other.y))
342 def toVec2(self): return Vec2(self.x, self.y
    [all...]
  /external/deqp/framework/opengl/
gluTextureTestUtil.hpp 175 void computeQuadTexCoord2D (std::vector<float>& dst, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight);
176 void computeQuadTexCoord2DArray (std::vector<float>& dst, int layerNdx, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight);
179 void computeQuadTexCoordCube (std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight);
180 void computeQuadTexCoordCubeArray (std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight, const tcu::Vec2& layerRange);
  /external/deqp/external/vulkancts/modules/vulkan/texture/
vktSampleVerifier.hpp 150 const tcu::Vec2& lodFracBounds,
159 const tcu::Vec2& lodBounds,
167 const tcu::Vec2& lodFracBounds,
208 const tcu::Vec2& weights,
228 void getMipmapStepBounds (const tcu::Vec2& lodFracBounds,
vktSampleVerifierUtil.cpp 63 UVec2 calcLevelBounds (const Vec2& lodBounds,
120 Vec2 calcLevelLodBounds (const Vec2& lodBounds, int level)
122 Vec2 levelLodBounds;
268 Vec2 calcLodBounds (const Vec3& dPdx,
275 Vec2 lodBounds;
280 Vec2 scaleXBounds;
281 Vec2 scaleYBounds;
289 Vec2 scaleMaxBounds;
310 Vec2& coordFace
    [all...]
vktTextureMipmapTests.cpp 54 using tcu::Vec2;
202 const Vec2 bottomLeft;
203 const Vec2 topRight;
206 { Vec2(-0.1f, 0.1f), Vec2( 0.8f, 1.0f) },
207 { Vec2(-0.3f, -0.6f), Vec2( 0.7f, 0.4f) },
208 { Vec2(-0.3f, 0.6f), Vec2( 0.7f, -0.9f) },
209 { Vec2(-0.8f, 0.6f), Vec2( 0.7f, -0.9f) }
    [all...]
vktTextureFilteringTests.cpp 87 tcu::Vec2 minCoord;
88 tcu::Vec2 maxCoord;
95 FilterCase (int tex_, const tcu::Vec2& minCoord_, const tcu::Vec2& maxCoord_)
188 m_cases.push_back(FilterCase(texNdx, tcu::Vec2(oX, oY), tcu::Vec2(oX+sX, oY+sY)));
287 tcu::Vec2 bottomLeft;
288 tcu::Vec2 topRight;
295 FilterCase (int tex_, const tcu::Vec2& bottomLeft_, const tcu::Vec2& topRight_
    [all...]
vktTextureShadowTests.cpp 204 tcu::Vec2 minCoord;
205 tcu::Vec2 maxCoord;
214 FilterCase (int tex_, const float ref_, const tcu::Vec2& minCoord_, const tcu::Vec2& maxCoord_)
306 m_cases.push_back(FilterCase(texNdx, ref, tcu::Vec2(oX, oY), tcu::Vec2(oX+sX, oY+sY)));
408 tcu::Vec2 bottomLeft;
409 tcu::Vec2 topRight;
418 FilterCase (const int tex_, const float ref_, const tcu::Vec2& bottomLeft_, const tcu::Vec2& topRight_
    [all...]
  /external/deqp/modules/gles2/performance/
es2pTextureCases.cpp 45 using tcu::Vec2;
112 Vec2 p00 = (m_coordTransform * Vec3(0.0f, 0.0f, 1.0f)).swizzle(0,1);
113 Vec2 p10 = (m_coordTransform * Vec3(1.0f, 0.0f, 1.0f)).swizzle(0,1);
114 Vec2 p01 = (m_coordTransform * Vec3(0.0f, 1.0f, 1.0f)).swizzle(0,1);
115 Vec2 p11 = (m_coordTransform * Vec3(1.0f, 1.0f, 1.0f)).swizzle(0,1);
135 "attribute mediump vec2 a_coords;\n"
136 "varying mediump vec2 v_coords;\n"
144 fragSrc << "varying mediump vec2 v_coords;\n";
  /external/deqp/modules/gles3/scripts/
genutil.py 239 def toVec2(self): return Vec2(self.x, self.x)
315 elif isinstance(val, Vec2):
316 return Vec2(self.x * val.x, self.x * val.y)
327 elif isinstance(val, Vec2):
328 return Vec2(self.x / val.x, self.x / val.y)
367 elif (len(lst) == 2): return Vec2(lst[0], lst[1])
395 class Vec2(Vec):
401 def applyUnary(self, func): return Vec2(func(self.x), func(self.y))
402 def applyBinary(self, func, other): return Vec2(func(self.x, other.x), func(self.y, other.y))
406 def toVec2(self): return Vec2(self.x, self.y
    [all...]
  /external/deqp/modules/gles31/scripts/
genutil.py 239 def toVec2(self): return Vec2(self.x, self.x)
317 elif isinstance(val, Vec2):
318 return Vec2(self.x * val.x, self.x * val.y)
329 elif isinstance(val, Vec2):
330 return Vec2(self.x / val.x, self.x / val.y)
369 elif (len(lst) == 2): return Vec2(lst[0], lst[1])
397 class Vec2(Vec):
403 def applyUnary(self, func): return Vec2(func(self.x), func(self.y))
404 def applyBinary(self, func, other): return Vec2(func(self.x, other.x), func(self.y, other.y))
408 def toVec2(self): return Vec2(self.x, self.y
    [all...]
  /external/deqp/modules/gles3/functional/
es3fTextureFilteringTests.cpp 112 tcu::Vec2 minCoord;
113 tcu::Vec2 maxCoord;
120 FilterCase (const glu::Texture2D* tex_, const tcu::Vec2& minCoord_, const tcu::Vec2& maxCoord_)
255 m_cases.push_back(FilterCase(m_textures[texNdx], tcu::Vec2(oX, oY), tcu::Vec2(oX+sX, oY+sY)));
391 tcu::Vec2 bottomLeft;
392 tcu::Vec2 topRight;
399 FilterCase (const glu::TextureCube* tex_, const tcu::Vec2& bottomLeft_, const tcu::Vec2& topRight_
    [all...]
es3fShaderCommonFunctionTests.cpp 45 using tcu::Vec2;
432 const Vec2 floatRanges[] =
434 Vec2(-2.0f, 2.0f), // lowp
435 Vec2(-1e3f, 1e3f), // mediump
436 Vec2(-1e7f, 1e7f) // highp
514 const Vec2 floatRanges[] =
516 Vec2(-2.0f, 2.0f), // lowp
517 Vec2(-1e4f, 1e4f), // mediump - note: may end up as inf
518 Vec2(-1e8f, 1e8f) // highp - note: may end up as inf
620 const Vec2 ranges[]
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/shaderrender/
vktShaderRenderBuiltinVarTests.cpp     [all...]
  /external/deqp/modules/gles2/functional/
es2fBufferTestUtil.cpp 283 "attribute highp vec2 a_position;\n"
315 static void computePositions (vector<tcu::Vec2>& positions, int gridSizeX, int gridSizeY)
332 positions[baseNdx+0] = tcu::Vec2(fx0, fy0);
333 positions[baseNdx+1] = tcu::Vec2(fx0, fy1);
334 positions[baseNdx+2] = tcu::Vec2(fx1, fy0);
335 positions[baseNdx+3] = tcu::Vec2(fx1, fy1);
420 vector<tcu::Vec2> positions;
493 "attribute highp vec2 a_position;\n"
525 static void computeIndexVerifierPositions (std::vector<tcu::Vec2>& dst)
539 dst[y*numPosX + x] = tcu::Vec2(2.0f*xf - 1.0f, 2.0f*yf - 1.0f)
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineMultisampleShaderBuiltInTests.cpp 84 VertexDataNdcScreen (const tcu::Vec4& posNdc, const tcu::Vec2& posScreen) : positionNdc(posNdc), positionScreen(posScreen) {}
87 tcu::Vec2 positionScreen;
122 void uploadVertexDataNdcScreen (const Allocation& vertexBufferAllocation, const MultisampleInstanceBase::VertexDataDesc& vertexDataDescripton, const tcu::Vec2& screenSize)
126 vertices.push_back(VertexDataNdcScreen(tcu::Vec4(-1.0f, -1.0f, 0.0f, 1.0f), tcu::Vec2(0.0f, 0.0f)));
127 vertices.push_back(VertexDataNdcScreen(tcu::Vec4( 1.0f, -1.0f, 0.0f, 1.0f), tcu::Vec2(screenSize.x(), 0.0f)));
128 vertices.push_back(VertexDataNdcScreen(tcu::Vec4(-1.0f, 1.0f, 0.0f, 1.0f), tcu::Vec2(0.0f, screenSize.y())));
129 vertices.push_back(VertexDataNdcScreen(tcu::Vec4( 1.0f, 1.0f, 0.0f, 1.0f), tcu::Vec2(screenSize.x(), screenSize.y())));
347 const tcu::Vec2 averageSamplePos = tcu::Vec2((float)dataRS.getPixelUint(x, y, z).x() / 255.0f, (float)dataRS.getPixelUint(x, y, z).y() / 255.0f);
348 const tcu::Vec2 distanceFromCenter = tcu::abs(averageSamplePos - tcu::Vec2(0.5f, 0.5f))
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/draw/
vktDrawShaderDrawParametersTests.cpp 231 using tcu::Vec2;
235 const Vec2 perInstanceOffset[] = { Vec2(0.0f, 0.0f), Vec2(-0.3f, 0.0f), Vec2(0.0f, 0.3f) };
236 const Vec2 perDrawOffset[] = { Vec2(0.0f, 0.0f), Vec2(-0.3f, -0.3f), Vec2(0.3f, 0.3f) };
252 const Vec2 offset = perInstanceOffset[instanceNdx] + perDrawOffset[drawNdx]
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/tessellation/
vktTessellationMiscDrawTests.cpp 103 std::vector<tcu::Vec2> genVertexPositions (const TessPrimitiveType primitiveType)
105 std::vector<tcu::Vec2> positions;
110 positions.push_back(tcu::Vec2( 0.8f, 0.6f));
111 positions.push_back(tcu::Vec2( 0.0f, -0.786f));
112 positions.push_back(tcu::Vec2(-0.8f, 0.6f));
116 positions.push_back(tcu::Vec2(-0.8f, -0.8f));
117 positions.push_back(tcu::Vec2( 0.8f, -0.8f));
118 positions.push_back(tcu::Vec2(-0.8f, 0.8f));
119 positions.push_back(tcu::Vec2( 0.8f, 0.8f));
139 const std::vector<tcu::Vec2> vertexData = genVertexPositions(caseDef.primitiveType)
    [all...]

Completed in 758 milliseconds

12 3 4 5 6 7 8 910