/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 | 57 static const char* const s_shaderVertexTemplate = "attribute highp vec4 a_position;\n" 58 "attribute highp vec4 a_color;\n" 59 "varying highp vec4 v_color;\n" 67 static const char* const s_shaderFragmentTemplate = "varying mediump vec4 v_color;\n" 95 void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLenum primitiveType); 96 void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec4>& coloDrata, glw::GLenum primitiveType); 186 void BaseRenderingCase::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLenum primitiveType) 189 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; 184 void init (const tcu::Vec4& v0, const tcu::Vec4& v1, float lineWidth); 197 tcu::Vec4 m_v0; 198 tcu::Vec4 m_v1 [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/external/vulkancts/modules/vulkan/texture/ |
vktSampleVerifier.hpp | 45 tcu::Vec4 coord; 46 tcu::Vec4 dPdx; 47 tcu::Vec4 dPdy; 135 const tcu::Vec4& result) const; 138 const tcu::Vec4& result, 143 bool verifySampleFiltered (const tcu::Vec4& result, 156 const tcu::Vec4& result, 165 const tcu::Vec4& result, 166 const tcu::Vec4& coord, 172 const tcu::Vec4& result [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...] |
tcuRasterizationVerifier.hpp | 64 tcu::Vec4 positions[3]; 65 tcu::Vec4 colors[3]; 76 tcu::Vec4 positions[2]; 77 tcu::Vec4 colors[2]; 88 tcu::Vec4 position; 89 tcu::Vec4 color; 120 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);
|
tcuTexLookupVerifier.hpp | 47 Vec4 colorThreshold; //!< Threshold for match. 103 Vec4 computeFixedPointThreshold (const IVec4& bits); 104 Vec4 computeFloatingPointThreshold (const IVec4& bits, const Vec4& value); 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); 115 bool isLookupResultValid (const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result); 116 bool isLookupResultValid (const Texture1DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result); 117 bool isLookupResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result); 118 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/os/algos/common/math/ |
quat.h | 26 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);
|
/external/deqp/modules/glshared/ |
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/external/vulkancts/modules/vulkan/clipping/ |
vktClippingTests.cpp | 46 using tcu::Vec4; 115 std::vector<Vec4> genVertices (const VkPrimitiveTopology topology, const Vec4& offset, const float slope) 122 std::vector<Vec4> vertices; 129 vertices.push_back(offset + Vec4(0.0f, 0.0f, slope/2.0f + z, w)); 130 vertices.push_back(offset + Vec4( -hp, -hp, z, w)); 131 vertices.push_back(offset + Vec4( hp, -hp, slope + z, w)); 132 vertices.push_back(offset + Vec4( -hp, hp, z, w)); 133 vertices.push_back(offset + Vec4( hp, hp, slope + z, w)); 137 vertices.push_back(offset + Vec4(-p, -p, z, w)) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
vktDrawBaseClass.hpp | 53 PositionColorVertex (tcu::Vec4 position_, tcu::Vec4 color_) 58 tcu::Vec4 position; 59 tcu::Vec4 color; 64 VertexElementData (tcu::Vec4 position_, tcu::Vec4 color_, deUint32 refVertexIndex_)
|
/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/shaderrender/ |
vktShaderRenderTextureFunctionTests.cpp | 46 using tcu::Vec4; 104 tcu::Vec4 minCoord; 105 tcu::Vec4 maxCoord; 140 const tcu::Vec4& minCoord_, 141 const tcu::Vec4& maxCoord_, 222 tcu::Vec4 scale; 223 tcu::Vec4 bias; 365 inline Vec4 texture2D (const ShaderEvalContext& c, float s, float t, float lod) { return c.textures[0].tex2D->sample(c.textures[0].sampler, s, t, lod); } 366 inline Vec4 textureCube (const ShaderEvalContext& c, float s, float t, float r, float lod) { return c.textures[0].texCube->sample(c.textures[0].sampler, s, t, r, lod); } 367 inline Vec4 texture2DArray (const ShaderEvalContext& c, float s, float t, float r, float lod) { return c.textu (…) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
vktDynamicStateTestCaseUtil.hpp | 46 PositionColorVertex(const tcu::Vec4& position_, const tcu::Vec4& color_) 50 tcu::Vec4 position; 51 tcu::Vec4 color;
|