/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...] |
/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); 185 void BaseRenderingCase::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLenum primitiveType) 188 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);
|
/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/external/vulkancts/modules/vulkan/protected_memory/ |
vktProtectedMemImageValidator.hpp | 39 tcu::Vec4 coords[4]; 40 tcu::Vec4 values[4];
|
vktProtectedMemAttachmentClearTests.cpp | 292 << tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearValue.color.float32) << tcu::TestLog::EndMessage 311 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), 312 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, 313 { tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), 314 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), } 319 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f) [all...] |
vktProtectedMemAttachmentLoadTests.cpp | 220 << tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearValue.color.float32) << tcu::TestLog::EndMessage 241 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), 242 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, 243 { tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), 244 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), } 249 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f) [all...] |
vktProtectedMemBlitImageTests.cpp | 338 << tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearColorValue.float32) << tcu::TestLog::EndMessage; 355 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), 356 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, 357 { tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), 358 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), } 363 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f) [all...] |
vktProtectedMemClearColorImageTests.cpp | 231 << tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearColorValue.float32) << tcu::TestLog::EndMessage; 248 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), 249 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, 250 { tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), 251 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), } 256 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f) [all...] |
vktProtectedMemCopyImageTests.cpp | 334 << tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearColorValue.float32) << tcu::TestLog::EndMessage; 351 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), 352 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, 353 { tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), 354 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), } 359 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f) [all...] |
vktProtectedMemCopyBufferToImageTests.cpp | 327 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), 328 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, 329 { tcu::Vec4(0.0f), tcu::Vec4(0.0f), 330 tcu::Vec4(0.0f), tcu::Vec4(0.0f), } 335 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f) [all...] |
/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);
|
/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...] |