/external/deqp/modules/gles2/functional/ |
es2fShaderIndexingTests.cpp | 228 Vec3 arr[4]; 634 void evalSubscriptVec2 (ShaderEvalContext& c) { c.color.xyz() = Vec3(c.coords.x() + 0.5f*c.coords.y()); } 635 void evalSubscriptVec3 (ShaderEvalContext& c) { c.color.xyz() = Vec3(c.coords.x() + 0.5f*c.coords.y() + 0.25f*c.coords.z()); } 636 void evalSubscriptVec4 (ShaderEvalContext& c) { c.color.xyz() = Vec3(c.coords.x() + 0.5f*c.coords.y() + 0.25f*c.coords.z() + 0.125f*c.coords.w()); } 662 vtx << "varying mediump vec3 v_color;\n"; 663 frag << "varying mediump vec3 v_color;\n"; 779 vtx << " v_color = vec3(res);\n"; 785 frag << " gl_FragColor = vec4(vec3(res), 1.0);\n"; [all...] |
es2fShaderTextureFunctionTests.cpp | 52 FUNCTION_TEXTUREPROJ3, //!< textureProj(sampler2D, vec3) 55 FUNCTION_TEXTUREPROJLOD3, //!< textureProjLod(sampler2D, vec3) 178 using tcu::Vec3; 399 tcu::CubeFaceFloatCoords c00 = tcu::getCubeFaceCoords(Vec3(m_lookupSpec.minCoord[0]*proj, m_lookupSpec.minCoord[1]*proj, m_lookupSpec.minCoord[2]*proj)); 400 tcu::CubeFaceFloatCoords c10 = tcu::getCubeFaceCoords(Vec3(m_lookupSpec.maxCoord[0]*proj, m_lookupSpec.minCoord[1]*proj, m_lookupSpec.minCoord[2]*proj)); 401 tcu::CubeFaceFloatCoords c01 = tcu::getCubeFaceCoords(Vec3(m_lookupSpec.minCoord[0]*proj, m_lookupSpec.maxCoord[1]*proj, m_lookupSpec.minCoord[2]*proj));
|
es2fShaderOperatorTests.cpp | 206 VALUE_VEC3 = (1<<3), // vec3 only 655 void eval_##FUNC_NAME##_bvec3 (ShaderEvalContext& c) { c.color.xyz() = FUNC_NAME(greaterThan(c.in[0].swizzle(2, 0, 1), Vec3(0.0f))).asFloat(); } \ 661 void eval_##FUNC_NAME##_bvec3 (ShaderEvalContext& c) { c.color.xyz() = FUNC_NAME(greaterThan(c.in[0].swizzle(2, 0, 1), Vec3(0.0f)), greaterThan(c.in[1].swizzle(1, 2, 0), Vec3(0.0f)), greaterThan(c.in[2].swizzle(3, 1, 2), Vec3(0.0f))).asFloat(); } \ [all...] |
es2fDepthRangeTests.cpp | 52 using tcu::Vec3;
|
es2fDepthStencilClearTests.cpp | 51 using tcu::Vec3;
|
/external/deqp/modules/gles3/functional/ |
es3fShaderIndexingTests.cpp | 198 Vec3 arr[4]; 588 void evalSubscriptVec2 (ShaderEvalContext& c) { c.color.xyz() = Vec3(c.coords.x() + 0.5f*c.coords.y()); } 589 void evalSubscriptVec3 (ShaderEvalContext& c) { c.color.xyz() = Vec3(c.coords.x() + 0.5f*c.coords.y() + 0.25f*c.coords.z()); } 590 void evalSubscriptVec4 (ShaderEvalContext& c) { c.color.xyz() = Vec3(c.coords.x() + 0.5f*c.coords.y() + 0.25f*c.coords.z() + 0.125f*c.coords.w()); } 620 vtx << "out mediump vec3 v_color;\n"; 621 frag << "in mediump vec3 v_color;\n"; 737 vtx << " v_color = vec3(res);\n"; 743 frag << " o_color = vec4(vec3(res), 1.0);\n"; [all...] |
es3fTextureShadowTests.cpp | 108 const tcu::Vec3 nonShadowThreshold = tcu::computeFixedPointThreshold(getBitsVec(pixelFormat)-1).swizzle(1,2,3); 722 tcu::Vec3 minCoord; 723 tcu::Vec3 maxCoord; 732 FilterCase (const glu::Texture2DArray* tex_, float ref_, const tcu::Vec3& minCoord_, const tcu::Vec3& maxCoord_) 862 m_cases.push_back(FilterCase(tex, ref, tcu::Vec3(oX, oY, minLayer), tcu::Vec3(oX+sX, oY+sY, maxLayer))); [all...] |
es3fTextureMipmapTests.cpp | 56 using tcu::Vec3; [all...] |
es3fShaderOperatorTests.cpp | 267 VALUE_VEC3 = (1<<3), // vec3 only [all...] |
es3fDepthStencilClearTests.cpp | 51 using tcu::Vec3;
|
es3fFragDepthTests.cpp | 51 using tcu::Vec3;
|
/external/deqp/modules/gles3/performance/ |
es3pDepthTests.cpp | 64 using tcu::Vec3; 186 vector<Vec3> vertices (gridsize*gridsize); 198 vertices[y*gridsize + x] = Vec3(x_, y_, z_); 206 const Vec3& p0 = vertices[(y+0)*gridsize + (x+0)]; 207 const Vec3& p1 = vertices[(y+0)*gridsize + (x+1)]; 208 const Vec3& p2 = vertices[(y+1)*gridsize + (x+0)]; 209 const Vec3& p3 = vertices[(y+1)*gridsize + (x+1)]; 233 "out mediump vec3 v_bcoords;\n" 236 " v_bcoords = vec3(0, 0, 0);\n" 247 "out mediump vec3 v_bcoords;\n [all...] |
/external/deqp/modules/gles31/functional/ |
es31fTextureGatherTests.cpp | 57 using tcu::Vec3; 514 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DArrayView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4]) 520 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4]) 532 static Vec4 gatherOffsetsCompare (const tcu::Texture2DArrayView& texture, const tcu::Sampler& sampler, float refZ, const Vec3& coord, const IVec2 (&offsets)[4]) 537 static Vec4 gatherOffsetsCompare (const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, float refZ, const Vec3& coord, const IVec2 (&offsets)[4]) 548 const Vec3& coord, 561 const Vec3& coord, [all...] |
es31fSampleVariableTests.cpp | 58 ColorVerifier (const tcu::Vec3& _color, int _threshold = 8) 64 ColorVerifier (const tcu::Vec3& _color, tcu::IVec3 _threshold) 563 allOk &= verifyImageWithVerifier(resultBuffers[sampleNdx], m_testCtx.getLog(), ColorVerifier(tcu::Vec3(0.0f, sampleIdColor, 1.0f), tcu::IVec3(1, threshold, 1)), false); [all...] |
es31fFboTestUtil.cpp | 49 using tcu::Vec3; 282 "out highp vec3 v_coord;\n" 286 " v_coord = u_coordMat * vec3(a_coord, 1.0);\n" 296 "in highp vec3 v_coord;\n" 372 const tcu::Vec3 v_coord = texCoordMat * tcu::Vec3(a_coord.x(), a_coord.y(), 1.0f);
|
es31fLayoutBindingTests.cpp | 47 using tcu::Vec3; 390 const Vec3 vertices[] = 392 Vec3(-1.0f, -1.0f, +1.0f), 393 Vec3(+1.0f, -1.0f, +1.0f), 394 Vec3(+1.0f, +1.0f, +1.0f), 395 Vec3(-1.0f, +1.0f, +1.0f), [all...] |
es31fTextureSpecificationTests.cpp | 194 sglr::drawQuad(*getCurrentContext(), program, tcu::Vec3(-1.0f, -1.0f, 0.0f), tcu::Vec3(-1.0f + w*2.0f, -1.0f + h*2.0f, 0.0f)); [all...] |
/external/deqp/framework/referencerenderer/ |
rrRenderer.cpp | 481 return tcu::cross(tcu::Vec3(a.x(), a.y(), 0.0f), tcu::Vec3(b.x(), b.y(), 0.0f)).z(); 939 const tcu::Vec3 ssp = p.swizzle(0, 1, 2); 940 const tcu::Vec3 ssv0 = v0.swizzle(0, 1, 2); 941 const tcu::Vec3 ssv1 = v1.swizzle(0, 1, 2); 945 const tcu::Vec3 a = ssv0.swizzle(0,1,2) - ssp.swizzle(0,1,2); 946 const tcu::Vec3 b = ssv1.swizzle(0,1,2) - ssp.swizzle(0,1,2); [all...] |
/external/deqp/framework/opengl/simplereference/ |
sglrReferenceContext.cpp | 46 using tcu::Vec3; [all...] |
sglrReferenceContext.hpp | 211 void sample4 (tcu::Vec4 output[4], const tcu::Vec3 packetTexcoords[4], float lodBias = 0.0f) const; 237 void sample4 (tcu::Vec4 output[4], const tcu::Vec3 packetTexcoords[4], float lodBias = 0.0f) const; 263 void sample4 (tcu::Vec4 output[4], const tcu::Vec3 packetTexcoords[4], float lodBias = 0.0f) const; [all...] |
/external/deqp/framework/common/ |
tcuTexture.hpp | 460 CubeFace selectCubeFace (const Vec3& coords); 461 Vec2 projectToFace (CubeFace face, const Vec3& coords); 462 CubeFaceFloatCoords getCubeFaceCoords (const Vec3& coords); [all...] |
tcuTexCompareVerifier.cpp | [all...] |
tcuTexture.cpp | [all...] |
/external/deqp/modules/glshared/ |
glsBuiltinPrecisionTests.cpp | [all...] |
/external/deqp/modules/gles2/performance/ |
es2pTextureUploadTests.cpp | 58 using tcu::Vec3;
|