/external/deqp/modules/gles3/functional/ |
es3fTextureShadowTests.cpp | 180 tcu::Vec2 minCoord; 181 tcu::Vec2 maxCoord; 190 FilterCase (const glu::Texture2D* tex_, const float ref_, const tcu::Vec2& minCoord_, const tcu::Vec2& maxCoord_) 307 m_cases.push_back(FilterCase(m_textures[texNdx], ref, tcu::Vec2(oX, oY), tcu::Vec2(oX+sX, oY+sY))); 431 tcu::Vec2 bottomLeft; 432 tcu::Vec2 topRight; 441 FilterCase (const glu::TextureCube* tex_, const float ref_, const tcu::Vec2& bottomLeft_, const tcu::Vec2& topRight_ [all...] |
es3fShaderPrecisionTests.cpp | 182 ShaderFloatPrecisionCase (Context& context, const char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, const tcu::Vec2& rangeA, const tcu::Vec2& rangeB, bool isVertexCase); 200 tcu::Vec2 m_rangeA; 201 tcu::Vec2 m_rangeB; 215 ShaderFloatPrecisionCase::ShaderFloatPrecisionCase (Context& context, const char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, const tcu::Vec2& rangeA, const tcu::Vec2& rangeB, bool isVertexCase) 833 using tcu::Vec2; 842 tcu::Vec2 fullRange32F (minF32, maxF32); 843 tcu::Vec2 fullRange16F (minF16, maxF16); 860 tcu::Vec2 rangeA [all...] |
es3fFragDepthTests.cpp | 50 using tcu::Vec2; 57 typedef float (*EvalFragDepthFunc) (const Vec2& coord); 62 "in highp vec2 a_coord;\n" 63 "out highp vec2 v_coord;\n" 245 float d = m_evalFunc(Vec2(xf, yf)); 257 float d = m_evalFunc(Vec2(xf, yf)); 408 float d = m_evalFunc(Vec2(xf, yf)); 431 static float evalConstDepth (const Vec2& coord) { DE_UNREF(coord); return 0.5f; } 432 static float evalDynamicDepth (const Vec2& coord) { return (coord.x()+coord.y())*0.5f; } 433 static float evalNoWrite (const Vec2& coord) { return 1.0f - (coord.x()+coord.y())*0.5f; [all...] |
es3fTextureWrapTests.cpp | 101 tcu::Vec2 bottomLeft; 102 tcu::Vec2 topRight; 105 Case (const tcu::Vec2& bl, const tcu::Vec2& tr) : bottomLeft(bl), topRight(tr) {} 277 m_cases.push_back(Case(tcu::Vec2(-1.5f, -3.0f), tcu::Vec2(1.5f, 2.5f))); 278 m_cases.push_back(Case(tcu::Vec2(-0.5f, 0.75f), tcu::Vec2(0.25f, 1.25f)));
|
es3fTextureMipmapTests.cpp | 55 using tcu::Vec2; 235 Vec2 bottomLeft; 236 Vec2 topRight; 239 { Vec2(-0.1f, 0.1f), Vec2( 0.8f, 1.0f) }, 240 { Vec2(-0.3f, -0.6f), Vec2( 0.7f, 0.4f) }, 241 { Vec2(-0.3f, 0.6f), Vec2( 0.7f, -0.9f) }, 242 { Vec2(-0.8f, 0.6f), Vec2( 0.7f, -0.9f) } [all...] |
/external/deqp/external/openglcts/modules/common/ |
glcFragDepthTests.cpp | 47 using tcu::Vec2; 54 typedef float (*EvalFragDepthFunc)(const Vec2& coord); 58 "in highp vec2 a_coord;\n" 59 "out highp vec2 v_coord;\n" 243 float d = m_evalFunc(Vec2(xf, yf)); 255 float d = m_evalFunc(Vec2(xf, yf)); 393 float d = m_evalFunc(Vec2(xf, yf)); 416 static float evalConstDepth(const Vec2& coord) 421 static float evalDynamicDepth(const Vec2& coord) 425 static float evalNoWrite(const Vec2& coord [all...] |
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
vktSparseResourcesShaderIntrinsicsSampled.cpp | 152 << "layout(location = 0) in highp vec2 vs_in_position;\n" 153 << "layout(location = 1) in highp vec2 vs_in_texCoord;\n" 538 std::vector<tcu::Vec2> vertexData; 540 vertexData.push_back(tcu::Vec2(-1.0f,-1.0f)); 541 vertexData.push_back(tcu::Vec2( 0.0f, 0.0f)); 543 vertexData.push_back(tcu::Vec2(-1.0f, 1.0f)); 544 vertexData.push_back(tcu::Vec2( 0.0f, 1.0f)); 546 vertexData.push_back(tcu::Vec2( 1.0f,-1.0f)); 547 vertexData.push_back(tcu::Vec2( 1.0f, 0.0f)); 549 vertexData.push_back(tcu::Vec2( 1.0f, 1.0f)) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
vktSampleVerifier.cpp | 333 const Vec2& weights, 462 void SampleVerifier::getMipmapStepBounds (const Vec2& lodFracBounds, 483 const Vec2& lodFracBounds, 609 const Vec2& lodBounds, 652 if (verifySampleFiltered(result, baseTexel[0], baseTexel[1], texelGridOffset[0], texelGridOffset[1], layer, level, Vec2(0.0f, 0.0f), VK_FILTER_LINEAR, VK_SAMPLER_MIPMAP_MODE_NEAREST, report)) 663 const Vec2 lodFracBounds = lodBounds - Vec2((float)level); 670 if (verifySampleFiltered(result, baseTexel[0], baseTexel[1], texelGridOffset[0], texelGridOffset[1], layer, level, Vec2(0.0f, 0.0f), VK_FILTER_LINEAR, VK_SAMPLER_MIPMAP_MODE_NEAREST, report)) 699 const Vec2& lodBounds, 810 Vec2 lodBounds [all...] |
vktTextureFilteringAnisotropyTests.cpp | 43 using tcu::Vec2; 130 computeQuadTexCoord2D(texCoord, Vec2(0.0f), Vec2(1.0f));
|
/external/deqp/modules/gles31/functional/ |
es31fTextureBorderClampTests.cpp | 510 tcu::Vec2 p0; 511 tcu::Vec2 p1; [all...] |
es31fShaderHelperInvocationTests.cpp | 54 using tcu::Vec2; 101 static void genVertices (PrimitiveType primType, int numPrimitives, de::Random* rnd, vector<Vec2>* dst) 154 static Vec2 getRange (const glw::Functions& gl, deUint32 pname) 156 Vec2 v(0.0f); 169 vector<Vec2> vertices; 181 const Vec2 range = getRange(gl, GL_ALIASED_POINT_SIZE_RANGE); 190 const Vec2 range = getRange(gl, GL_ALIASED_LINE_WIDTH_RANGE); 340 "in highp vec2 a_position;\n" 500 "in highp vec2 a_position;\n"
|
/external/deqp/modules/gles2/functional/ |
es2fTextureFilteringTests.cpp | 94 tcu::Vec2 minCoord; 95 tcu::Vec2 maxCoord; 102 FilterCase (const glu::Texture2D* tex_, const tcu::Vec2& minCoord_, const tcu::Vec2& maxCoord_) 237 m_cases.push_back(FilterCase(m_textures[texNdx], tcu::Vec2(oX, oY), tcu::Vec2(oX+sX, oY+sY))); 357 tcu::Vec2 bottomLeft; 358 tcu::Vec2 topRight; 365 FilterCase (const glu::TextureCube* tex_, const tcu::Vec2& bottomLeft_, const tcu::Vec2& topRight_ [all...] |
es2fFlushFinishTests.cpp | 58 using tcu::Vec2; 333 std::vector<Vec2> getPointsFromSamples (const std::vector<FlushFinishCase::Sample>& samples, const deUint64 FlushFinishCase::Sample::*field) 335 vector<Vec2> points(samples.size()); 338 points[ndx] = Vec2(float(samples[ndx].numDrawCalls), float(samples[ndx].*field)); 358 const vector<Vec2> waitTimes = getPointsFromSamples(samples, &Sample::waitTime); 359 const vector<Vec2> readTimes = getPointsFromSamples(samples, &Sample::readPixelsTime);
|
es2fShaderStructTests.cpp | 259 << " mediump vec2 b;" 269 << " S s = S(${COORDS}.x, T(0, vec2(0.0)), ui_one);" 399 << " mediump vec2 b[2];" 463 << " mediump vec2 b[2];" 602 << " mediump vec2 b;" 617 << " S s = S(${COORDS}.x, T(0, vec2(0.0)), ui_one);" 714 << " mediump vec2 b;" 724 << " S s = S(${COORDS}.x, T(0, vec2(0.0)), ui_one);" 828 << " mediump vec2 b;" 857 << " mediump vec2 b; [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
vktShaderCommonFunctionTests.cpp | 51 using tcu::Vec2; 585 const Vec2 floatRanges[] = 587 Vec2(-2.0f, 2.0f), // lowp 588 Vec2(-1e3f, 1e3f), // mediump 589 Vec2(-1e7f, 1e7f) // highp 681 const Vec2 floatRanges[] = 683 Vec2(-2.0f, 2.0f), // lowp 684 Vec2(-1e4f, 1e4f), // mediump - note: may end up as inf 685 Vec2(-1e8f, 1e8f) // highp - note: may end up as inf 801 const Vec2 ranges[] [all...] |
vktShaderPackingFunctionTests.cpp | 166 std::vector<tcu::Vec2> inputs; 173 inputs.push_back(tcu::Vec2(0.0f, 0.0f)); 174 inputs.push_back(tcu::Vec2(-1.0f, 1.0f)); 175 inputs.push_back(tcu::Vec2(0.5f, -0.5f)); 176 inputs.push_back(tcu::Vec2(-1.5f, 1.5f)); 177 inputs.push_back(tcu::Vec2(0.25f, -0.75f)); 184 inputs.push_back(tcu::Vec2(x, y)); 192 inputs.push_back(tcu::Vec2(x, y)); 289 std::vector<tcu::Vec2> outputs; 336 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ") [all...] |
/external/deqp/framework/common/ |
tcuTexVerifierUtil.cpp | 46 Vec2 computeNonNormalizedCoordBounds (const bool normalizedCoords, const int dim, const float coord, const int coordBits, const int uvBits) 58 return Vec2(minC, maxC);
|
tcuTexVerifierUtil.hpp | 96 Vec2 computeNonNormalizedCoordBounds (const bool normalizedCoords, const int dim, const float coord, const int coordBits, const int uvBits);
|
/external/deqp/modules/gles3/stress/ |
es3sLongRunningShaderTests.cpp | 49 using tcu::Vec2; 129 << "in highp vec2 a_position;\n"; 242 void genPositions (const tcu::RenderTarget& renderTarget, int numPoints, Vec2* positions) 257 positions[pointNdx] = Vec2(xf, yf); 277 vector<Vec2> positions (m_params->numInvocations);
|
/external/deqp/modules/glshared/ |
glsLongStressTestUtil.cpp | 30 using tcu::Vec2; 141 "${VTX_IN} mediump vec2 a_texCoord;\n" 142 "${VTX_OUT} mediump vec2 v_texCoord;\n" 153 "${FRAG_IN} mediump vec2 v_texCoord;\n" 164 context.attributes.push_back(gls::VarSpec("a_texCoord", Vec2(0.0f), Vec2(1.0f))); 214 vtxTexCoordInputs += "${VTX_IN} mediump vec2 a_texCoord" + toString(i) + ";\n"; 215 vtxTexCoordOutputs += "${VTX_OUT} mediump vec2 v_texCoord" + toString(i) + ";\n"; 217 fragTexCoordInputs += "${FRAG_IN} mediump vec2 v_texCoord" + toString(i) + ";\n"; 236 context.attributes.push_back(gls::VarSpec("a_texCoord" + de::toString(i), Vec2(0.0f), Vec2(1.0f))) [all...] |
glsBufferTestUtil.cpp | 431 "in highp vec2 a_position;\n" 476 static void computePositions (vector<tcu::Vec2>& positions, int gridSizeX, int gridSizeY) 493 positions[baseNdx+0] = tcu::Vec2(fx0, fy0); 494 positions[baseNdx+1] = tcu::Vec2(fx0, fy1); 495 positions[baseNdx+2] = tcu::Vec2(fx1, fy0); 496 positions[baseNdx+3] = tcu::Vec2(fx1, fy1); 581 vector<tcu::Vec2> positions; 669 "in highp vec2 a_position;\n" 714 static void computeIndexVerifierPositions (std::vector<tcu::Vec2>& dst) 728 dst[y*numPosX + x] = tcu::Vec2(2.0f*xf - 1.0f, 2.0f*yf - 1.0f) [all...] |
/external/deqp/external/openglcts/modules/gl/ |
gl4cVertexAttribBindingTests.cpp | 43 using tcu::Vec2; 259 bool IsEqual(Vec2 a, Vec2 b) 613 glBufferSubData(GL_ARRAY_BUFFER, 28, sizeof(Vec2), &Vec2(8.0f, 9.0f)[0]); 619 glBufferSubData(GL_ARRAY_BUFFER, 28 + 36, sizeof(Vec2), &Vec2(17.0f, 18.0f)[0]); [all...] |
/external/deqp/external/openglcts/modules/gles31/ |
es31cVertexAttribBindingTests.cpp | 41 using tcu::Vec2; 191 bool IsEqual(Vec2 a, Vec2 b) 676 glBufferSubData(GL_ARRAY_BUFFER, 28, sizeof(Vec2), &Vec2(8.0f, 9.0f)[0]); 683 glBufferSubData(GL_ARRAY_BUFFER, 28 + 36, sizeof(Vec2), &Vec2(17.0f, 18.0f)[0]); [all...] |
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineVertexUtil.cpp | 885 using tcu::Vec2; 890 const Vec2 translations[4] = 892 Vec2(-0.25f, -0.25f), 893 Vec2(-1.0f, -0.25f), 894 Vec2(-1.0f, -1.0f), 895 Vec2(-0.25f, -1.0f) 910 const Vec2& translation = translations[quadNdx];
|
/external/deqp/external/openglcts/modules/glesext/geometry_shader/ |
esextcGeometryShaderRendering.cpp | [all...] |