/external/deqp/modules/gles3/functional/ |
es3fScissorTests.cpp | 60 using tcu::Vec4; 70 const tcu::Vec4 scissor; 71 const tcu::Vec4 render; 76 { "contained_quads", "Triangles fully inside scissor area (single call)", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 30 }, 77 { "partial_quads", "Triangles partially inside scissor area (single call)", Vec4(0.3f, 0.3f, 0.4f, 0.4f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 30 }, 78 { "contained_tri", "Triangle fully inside scissor area", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 1 }, 79 { "enclosing_tri", "Triangle fully covering scissor area", Vec4(0.4f, 0.4f, 0.2f, 0.2f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 1 } [all...] |
es3fFboTestUtil.hpp | 61 void setColor (sglr::Context& context, deUint32 program, const tcu::Vec4& color); 76 void setGradient (sglr::Context& context, deUint32 program, const tcu::Vec4& gradientMin, const tcu::Vec4& gradientMax); 88 Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const tcu::Vec4& outScale = tcu::Vec4(1.0f), const tcu::Vec4& outBias = tcu::Vec4(0.0f)); 92 void setTexScaleBias (int samplerNdx, const tcu::Vec4& scale, const tcu::Vec4& bias); 93 void setOutScaleBias (const tcu::Vec4& scale, const tcu::Vec4& bias) [all...] |
es3fClippingTests.cpp | 54 static const tcu::Vec4 MASK_COLOR_OK = tcu::Vec4(0.0f, 0.1f, 0.0f, 1.0f); 55 static const tcu::Vec4 MASK_COLOR_DEV = tcu::Vec4(0.8f, 0.5f, 0.0f, 1.0f); 56 static const tcu::Vec4 MASK_COLOR_FAIL = tcu::Vec4(1.0f, 0.0f, 1.0f, 1.0f); 65 "in highp vec4 a_position;\n" 66 "in highp vec4 a_color;\n" 68 "out highp vec4 varFragColor;\n" 76 "layout(location = 0) out mediump vec4 fragColor; [all...] |
es3fShaderTextureFunctionTests.cpp | 107 tcu::Vec4 minCoord; 108 tcu::Vec4 maxCoord; 143 const tcu::Vec4& minCoord_, 144 const tcu::Vec4& maxCoord_, 222 tcu::Vec4 scale; 223 tcu::Vec4 bias; 238 using tcu::Vec4; 279 inline Vec4 texture2D (const gls::ShaderEvalContext& c, float s, float t, float lod) { return c.textures[0].tex2D->sample(c.textures[0].sampler, s, t, lod); } 280 inline Vec4 textureCube (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { return c.textures[0].texCube->sample(c.textures[0].sampler, s, t, r, lod); } 281 inline Vec4 texture2DArray (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { return c. (…) [all...] |
es3fDefaultVertexAttributeTests.cpp | 54 "layout(location = 0) out mediump vec4 fragColor;\n" 55 "in mediump vec4 v_color;\n" 84 virtual tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const = 0; 101 tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const \ 135 tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const \ 169 tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const [all...] |
/external/deqp/modules/gles2/functional/ |
es2fScissorTests.cpp | 50 using tcu::Vec4; 60 const tcu::Vec4 scissor; 61 const tcu::Vec4 render; 66 { "contained_tris", "Triangles fully inside scissor area (single call)", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 30 }, 67 { "partial_tris", "Triangles partially inside scissor area (single call)", Vec4(0.3f, 0.3f, 0.4f, 0.4f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 30 }, 68 { "contained_tri", "Triangle fully inside scissor area", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 1 }, 69 { "enclosing_tri", "Triangle fully covering scissor area", Vec4(0.4f, 0.4f, 0.2f, 0.2f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 1 } [all...] |
es2fClippingTests.cpp | 54 static const tcu::Vec4 MASK_COLOR_OK = tcu::Vec4(0.0f, 0.1f, 0.0f, 1.0f); 55 static const tcu::Vec4 MASK_COLOR_DEV = tcu::Vec4(0.8f, 0.5f, 0.0f, 1.0f); 56 static const tcu::Vec4 MASK_COLOR_FAIL = tcu::Vec4(1.0f, 0.0f, 1.0f, 1.0f); 64 const char* shaderSourceVertex = "attribute highp vec4 a_position;\n" 65 "attribute highp vec4 a_color;\n" 67 "varying mediump vec4 varFragColor;\n" 74 const char* shaderSourceFragment = "varying mediump vec4 varFragColor;\n [all...] |
es2fRasterizationTests.cpp | 53 static const char* const s_shaderVertexTemplate = "attribute highp vec4 a_position;\n" 54 "attribute highp vec4 a_color;\n" 55 "varying highp vec4 v_color;\n" 63 static const char* const s_shaderFragmentTemplate = "varying mediump vec4 v_color;\n" 91 void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLenum primitiveType); 92 void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec4>& coloDrata, glw::GLenum primitiveType); 182 void BaseRenderingCase::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLenum primitiveType) 185 const std::vector<tcu::Vec4> colorData(vertexData.size(), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f)) [all...] |
/external/deqp/framework/referencerenderer/ |
rrFragmentPacket.hpp | 54 tcu::Vec4 barycentric[3]; //!< Perspective-correct barycentric values.
|
rrRasterizer.hpp | 132 void init (const tcu::Vec4& v0, const tcu::Vec4& v1, const tcu::Vec4& v2); 152 tcu::Vec4 m_v0; 153 tcu::Vec4 m_v1; 154 tcu::Vec4 m_v2; 183 void init (const tcu::Vec4& v0, const tcu::Vec4& v1, float lineWidth); 196 tcu::Vec4 m_v0; 197 tcu::Vec4 m_v1 [all...] |
/external/opencv3/3rdparty/openexr/Imath/ |
ImathVec.cpp | 104 normalizeOrThrow(Vec4<T> &v) 403 // Vec4<short> 407 Vec4<short>::length () const 415 const Vec4<short> & 416 Vec4<short>::normalize () 423 const Vec4<short> & 424 Vec4<short>::normalizeExc () throw (Iex::MathExc) 434 const Vec4<short> & 435 Vec4<short>::normalizeNonNull () 442 Vec4<short [all...] |
ImathVec.h | 63 template <class T> class Vec4; 254 // could be either a Vec2<T>, a Vec3<T>, or a Vec4<T> you can 300 // Vec4 to Vec3 conversion, divides x, y and z by w: 310 template <class S> explicit Vec3 (const Vec4<S> &v); 311 template <class S> explicit Vec3 (const Vec4<S> &v, InfException); 466 // could be either a Vec2<T>, a Vec3<T>, or a Vec4<T> you can 479 template <class T> class Vec4 497 Vec4 (); // no initialization 498 explicit Vec4 (T a); // (a a a a) 499 Vec4 (T a, T b, T c, T d); // (a b c d [all...] |
/external/deqp/modules/gles31/functional/ |
es31fFboTestUtil.hpp | 58 Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const tcu::Vec4& outScale = tcu::Vec4(1.0f), const tcu::Vec4& outBias = tcu::Vec4(0.0f)); 62 void setTexScaleBias (int samplerNdx, const tcu::Vec4& scale, const tcu::Vec4& bias); 63 void setOutScaleBias (const tcu::Vec4& scale, const tcu::Vec4& bias); 74 tcu::Vec4 scale; 75 tcu::Vec4 bias [all...] |
/external/deqp/modules/glshared/ |
glsRasterizationTestUtil.hpp | 67 tcu::Vec4 positions[3]; 68 tcu::Vec4 colors[3]; 79 tcu::Vec4 positions[2]; 80 tcu::Vec4 colors[2]; 91 tcu::Vec4 position; 92 tcu::Vec4 color; 115 CoverageType calculateTriangleCoverage (const tcu::Vec4& p0, const tcu::Vec4& p1, const tcu::Vec4& p2, const tcu::IVec2& pixel, const tcu::IVec2& viewportSize, int subpixelBits, bool multisample);
|
glsShaderPerformanceMeasurer.hpp | 48 AttribSpec (const char* name_, const tcu::Vec4& p00_, const tcu::Vec4& p01_, const tcu::Vec4& p10_, const tcu::Vec4& p11_) 60 tcu::Vec4 p00; //!< Bottom left. 61 tcu::Vec4 p01; //!< Bottom right. 62 tcu::Vec4 p10; //!< Top left. 63 tcu::Vec4 p11; //!< Top right.
|
glsScissorTests.hpp | 51 using tcu::Vec4; 80 const Vec4& scissorArea, 81 const Vec4& renderArea, 88 const Vec4& scissorArea, 101 const Vec4& scissorArea);
|
glsLongStressTestUtil.cpp | 32 using tcu::Vec4; 63 params["FRAG_HEADER"] = isGLSL3 ? "#version 300 es\nlayout(location = 0) out mediump vec4 dEQP_FragColor;\n" : ""; 94 "${VTX_OUT} mediump vec4 v_color;\n" 98 " gl_Position = vec4(a_position, 1.0);\n" 104 "${FRAG_IN} mediump vec4 v_color;\n" 118 vtxDummyInputs += "${VTX_IN} mediump vec4 a_in" + toString(i) + ";\n"; 131 context.attributes.push_back(gls::VarSpec("a_in" + de::toString(i), Vec4(0.0f), Vec4(1.0f / (float)numDummyAttributes))); 147 " gl_Position = u_posTrans * vec4(a_position, 1.0);\n" 173 Vec4(0.0f), Vec4(1.0f))) [all...] |
/external/deqp/framework/common/ |
tcuTextureUtil.hpp | 47 Vec4 sRGBToLinear (const Vec4& cs); 48 Vec4 sRGB8ToLinear (const UVec4& cs); 49 Vec4 sRGBA8ToLinear (const UVec4& cs); 50 Vec4 linearToSRGB (const Vec4& cl); 88 Vec4 valueMin; 89 Vec4 valueMax; 90 Vec4 lookupScale; 91 Vec4 lookupBias [all...] |
tcuTexLookupVerifier.hpp | 47 Vec4 colorThreshold; //!< Threshold for match. 98 Vec4 computeFixedPointThreshold (const IVec4& bits); 99 Vec4 computeFloatingPointThreshold (const IVec4& bits, const Vec4& value); 108 bool isLookupResultValid (const Texture1DView& texture, const Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& result); 109 bool isLookupResultValid (const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result); 110 bool isLookupResultValid (const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result); 111 bool isLookupResultValid (const Texture1DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result); 112 bool isLookupResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result); 113 bool isLookupResultValid (const Texture3DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result) [all...] |
/device/google/contexthub/firmware/inc/algos/ |
quat.h | 28 typedef struct Vec4 Quat;
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineClearUtil.hpp | 36 tcu::Vec4 defaultClearColor (const tcu::TextureFormat& format); 39 tcu::Vec4 defaultClearColorUnorm (void);
|
vktPipelineReferenceRenderer.hpp | 43 tcu::Vec4 swizzle (const tcu::Vec4& color, const tcu::UVec4& swizzle); 63 tcu::Vec4 position; 64 tcu::Vec4 color; 98 tcu::Vec4 position; 99 tcu::Vec4 texCoord; 151 const tcu::Vec4 vtxPosition = rr::readVarying<float>(packet, context, 0, fragNdx); 158 const tcu::Vec4 vtxColor = rr::readVarying<float>(packet, context, 1, fragNdx); 174 const tcu::Vec4 m_lookupScale; 175 const tcu::Vec4 m_lookupBias [all...] |
vktPipelineVertexUtil.hpp | 40 tcu::Vec4 position; 41 tcu::Vec4 color; 46 tcu::Vec4 position; 47 tcu::Vec4 texCoord;
|
/external/deqp/modules/internal/ |
ditSRGB8ConversionTest.cpp | 55 const tcu::UVec4 calculateDiscreteFloatDistance (const tcu::Vec4& ref, const tcu::Vec4& res) 76 const tcu::Vec4 res (tcu::sRGBA8ToLinear(src)); 77 const tcu::Vec4 ref (tcu::sRGBToLinear(src.cast<float>() / tcu::Vec4(255.0f))); 78 const tcu::Vec4 diff (res - ref);
|
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
vktDynamicStateTestCaseUtil.hpp | 44 PositionColorVertex(const tcu::Vec4& position_, const tcu::Vec4& color_) 48 tcu::Vec4 position; 49 tcu::Vec4 color;
|