/external/deqp/modules/gles2/functional/ |
D | es2fScissorTests.cpp | 50 using tcu::Vec4; in init() 60 const tcu::Vec4 scissor; in init() 61 const tcu::Vec4 render; in init() 66 …", "Triangles fully inside scissor area (single call)", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f… in init() 67 … "Triangles partially inside scissor area (single call)", Vec4(0.3f, 0.3f, 0.4f, 0.4f), Vec4(0.2f… in init() 68 …ntained_tri", "Triangle fully inside scissor area", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f… in init() 69 …osing_tri", "Triangle fully covering scissor area", Vec4(0.4f, 0.4f, 0.2f, 0.2f), Vec4(0.2f… in init() 70 …tial_tri", "Triangle partially inside scissor area", Vec4(0.4f, 0.4f, 0.6f, 0.6f), Vec4(0.0f… in init() 71 …i", "Triangle with scissor area outside render target", Vec4(1.4f, 1.4f, 0.6f, 0.6f), Vec4(0.0f… in init() 72 …tial_lines", "Linse partially inside scissor area", Vec4(0.4f, 0.4f, 0.6f, 0.6f), Vec4(0.0f… in init() [all …]
|
D | 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); 363 std::string genClippingPointInfoString(const tcu::Vec4& p) in genClippingPointInfoString() 377 std::string genColorString(const tcu::Vec4& p) in genColorString() 379 const tcu::Vec4 white (1.0f, 1.0f, 1.0f, 1.0f); in genColorString() 380 const tcu::Vec4 red (1.0f, 0.0f, 0.0f, 1.0f); in genColorString() 381 const tcu::Vec4 yellow (1.0f, 1.0f, 0.0f, 1.0f); in genColorString() 382 const tcu::Vec4 blue (0.0f, 0.0f, 1.0f, 1.0f); in genColorString() 483 …ext, const char* name, const char* description, const tcu::Vec4* pointsBegin, const tcu::Vec4* poi… [all …]
|
D | es2fRasterizationTests.cpp | 95 …void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLe… 96 …tives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec… 185 void BaseRenderingCase::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexD… in drawPrimitives() 188 const std::vector<tcu::Vec4> colorData(vertexData.size(), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f)); in drawPrimitives() 193 …itives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec… in drawPrimitives() 228 …virtual void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<Tria… 254 std::vector<tcu::Vec4> drawBuffer; in iterate() 304 …virtual void generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineSce… 340 std::vector<tcu::Vec4> drawBuffer; in iterate() 411 …void generatePoints (int iteration, std::vector<tcu::Vec4>& outData, std::vector<PointSceneSpe… [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderTextureFunctionTests.cpp | 107 tcu::Vec4 minCoord; 108 tcu::Vec4 maxCoord; 143 const tcu::Vec4& minCoord_, in TextureLookupSpec() 144 const tcu::Vec4& maxCoord_, in TextureLookupSpec() 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.… in texture2D() 280 inline Vec4 textureCube (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { … in textureCube() 281 inline Vec4 texture2DArray (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) … in texture2DArray() [all …]
|
D | es3fScissorTests.cpp | 60 using tcu::Vec4; in init() 70 const tcu::Vec4 scissor; in init() 71 const tcu::Vec4 render; in init() 76 …s", "Triangles fully inside scissor area (single call)", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f… in init() 77 … "Triangles partially inside scissor area (single call)", Vec4(0.3f, 0.3f, 0.4f, 0.4f), Vec4(0.2f… in init() 78 …ntained_tri", "Triangle fully inside scissor area", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f… in init() 79 …osing_tri", "Triangle fully covering scissor area", Vec4(0.4f, 0.4f, 0.2f, 0.2f), Vec4(0.2f… in init() 80 …tial_tri", "Triangle partially inside scissor area", Vec4(0.4f, 0.4f, 0.6f, 0.6f), Vec4(0.0f… in init() 81 …i", "Triangle with scissor area outside render target", Vec4(1.4f, 1.4f, 0.6f, 0.6f), Vec4(0.0f… in init() 82 …tial_lines", "Linse partially inside scissor area", Vec4(0.4f, 0.4f, 0.6f, 0.6f), Vec4(0.0f… in init() [all …]
|
D | 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); 366 std::string genClippingPointInfoString(const tcu::Vec4& p) in genClippingPointInfoString() 380 std::string genColorString(const tcu::Vec4& p) in genColorString() 382 const tcu::Vec4 white (1.0f, 1.0f, 1.0f, 1.0f); in genColorString() 383 const tcu::Vec4 red (1.0f, 0.0f, 0.0f, 1.0f); in genColorString() 384 const tcu::Vec4 yellow (1.0f, 1.0f, 0.0f, 1.0f); in genColorString() 385 const tcu::Vec4 blue (0.0f, 0.0f, 1.0f, 1.0f); in genColorString() 486 …ext, const char* name, const char* description, const tcu::Vec4* pointsBegin, const tcu::Vec4* poi… [all …]
|
D | es3fFboTestUtil.hpp | 61 void setColor (sglr::Context& context, deUint32 program, const tcu::Vec4& color); 76 …nt (sglr::Context& context, deUint32 program, const tcu::Vec4& gradientMin, const tcu::Vec4& gra… 88 …es, glu::DataType outputType, const tcu::Vec4& outScale = tcu::Vec4(1.0f), const tcu::Vec4& outBia… 92 void setTexScaleBias (int samplerNdx, const tcu::Vec4& scale, const tcu::Vec4& bias); 93 void setOutScaleBias (const tcu::Vec4& scale, const tcu::Vec4& bias); 104 tcu::Vec4 scale; 105 tcu::Vec4 bias; 109 tcu::Vec4 m_outScale; 110 tcu::Vec4 m_outBias; 122 void setTexScaleBias (const tcu::Vec4& scale, const tcu::Vec4& bias); [all …]
|
D | es3fRasterizationTests.cpp | 123 …void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLe… 124 …tives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec… 351 void BaseRenderingCase::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexD… in drawPrimitives() 354 const std::vector<tcu::Vec4> colorData(vertexData.size(), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f)); in drawPrimitives() 359 …itives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec… in drawPrimitives() 431 …virtual void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<Tria… 457 std::vector<tcu::Vec4> drawBuffer; in iterate() 510 …virtual void generateLines (int iteration, std::vector<tcu::Vec4>& outData, std::vector<LineSce… 578 std::vector<tcu::Vec4> drawBuffer; in iterate() 655 …void generatePoints (int iteration, std::vector<tcu::Vec4>& outData, std::vector<PointSceneSpe… [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderTextureFunctionTests.cpp | 46 using tcu::Vec4; 115 tcu::Vec4 minCoord; 116 tcu::Vec4 maxCoord; 157 const tcu::Vec4& minCoord_, in TextureLookupSpec() 158 const tcu::Vec4& maxCoord_, in TextureLookupSpec() 244 tcu::Vec4 scale; 245 tcu::Vec4 bias; 410 inline Vec4 texture2D (const ShaderEvalContext& c, float s, float t, float lod) { return c.te… in texture2D() 411 inline Vec4 textureCube (const ShaderEvalContext& c, float s, float t, float r, float lod) { re… in textureCube() 412 inline Vec4 texture2DArray (const ShaderEvalContext& c, float s, float t, float r, float lod) { … in texture2DArray() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemAttachmentLoadTests.cpp | 211 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearValue.color.float32) << tcu:… in iterate() 232 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createAttachmentLoadTests() 233 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createAttachmentLoadTests() 234 { tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), in createAttachmentLoadTests() 235 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), } in createAttachmentLoadTests() 240 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createAttachmentLoadTests() 241 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createAttachmentLoadTests() 242 { tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), in createAttachmentLoadTests() 243 tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), } in createAttachmentLoadTests() 248 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createAttachmentLoadTests() [all …]
|
D | vktProtectedMemClearColorImageTests.cpp | 233 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearColorValue.float32) << tcu::… in iterate() 250 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createClearColorImageTests() 251 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createClearColorImageTests() 252 { tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), in createClearColorImageTests() 253 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), } in createClearColorImageTests() 258 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createClearColorImageTests() 259 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createClearColorImageTests() 260 { tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), in createClearColorImageTests() 261 tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), } in createClearColorImageTests() 266 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createClearColorImageTests() [all …]
|
D | vktProtectedMemAttachmentClearTests.cpp | 179 const tcu::Vec4 clearValue (m_clearValue.color.float32[0] < 0.5f ? 1.0f : 0.0f, in iterate() 269 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearValue.color.float32) << tcu:… in iterate() 288 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createAttachmentClearTests() 289 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createAttachmentClearTests() 290 { tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), in createAttachmentClearTests() 291 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), } in createAttachmentClearTests() 296 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createAttachmentClearTests() 297 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createAttachmentClearTests() 298 { tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), in createAttachmentClearTests() 299 tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), } in createAttachmentClearTests() [all …]
|
D | vktProtectedMemBlitImageTests.cpp | 340 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearColorValue.float32) << tcu::… in iterate() 357 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createBlitImageTests() 358 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createBlitImageTests() 359 { tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), in createBlitImageTests() 360 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), } in createBlitImageTests() 365 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createBlitImageTests() 366 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createBlitImageTests() 367 { tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), in createBlitImageTests() 368 tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), } in createBlitImageTests() 373 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createBlitImageTests() [all …]
|
D | vktProtectedMemCopyImageTests.cpp | 338 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearColorValue.float32) << tcu::… in iterate() 355 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createCopyImageTests() 356 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createCopyImageTests() 357 { tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), in createCopyImageTests() 358 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), } in createCopyImageTests() 363 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createCopyImageTests() 364 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createCopyImageTests() 365 { tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), in createCopyImageTests() 366 tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), } in createCopyImageTests() 371 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createCopyImageTests() [all …]
|
D | vktProtectedMemCopyBufferToImageTests.cpp | 320 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createCopyBufferToImageTests() 321 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createCopyBufferToImageTests() 322 { tcu::Vec4(0.0f), tcu::Vec4(0.0f), in createCopyBufferToImageTests() 323 tcu::Vec4(0.0f), tcu::Vec4(0.0f), } in createCopyBufferToImageTests() 328 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createCopyBufferToImageTests() 329 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createCopyBufferToImageTests() 330 { tcu::Vec4(1.0f), tcu::Vec4(1.0f), in createCopyBufferToImageTests() 331 tcu::Vec4(1.0f), tcu::Vec4(1.0f), } in createCopyBufferToImageTests() 336 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createCopyBufferToImageTests() 337 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createCopyBufferToImageTests() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/clipping/ |
D | vktClippingTests.cpp | 48 using tcu::Vec4; 117 std::vector<Vec4> genVertices (const VkPrimitiveTopology topology, const Vec4& offset, const float … in genVertices() 124 std::vector<Vec4> vertices; in genVertices() 131 vertices.push_back(offset + Vec4(0.0f, 0.0f, slope/2.0f + z, w)); in genVertices() 132 vertices.push_back(offset + Vec4( -hp, -hp, z, w)); in genVertices() 133 vertices.push_back(offset + Vec4( hp, -hp, slope + z, w)); in genVertices() 134 vertices.push_back(offset + Vec4( -hp, hp, z, w)); in genVertices() 135 vertices.push_back(offset + Vec4( hp, hp, slope + z, w)); in genVertices() 139 vertices.push_back(offset + Vec4(-p, -p, z, w)); in genVertices() 140 vertices.push_back(offset + Vec4( p, p, slope + z, w)); // line 0 in genVertices() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | 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 …]
|
D | vktSampleVerifier.cpp | 96 Vec4& resultMin, in fetchTexelWrapped() 97 Vec4& resultMax) const in fetchTexelWrapped() 119 …const tcu::Vec4 refPix = (m_imParams.dim == IMG_DIM_1D) ? levelAccess.getPixel(coord[0], lay… in fetchTexelWrapped() 132 Vec4& resultMin, in fetchTexel() 133 Vec4& resultMax) const in fetchTexel() 190 Vec4 cornerTexels[3]; in fetchTexel() 257 resultMin = Vec4(0.0f, 0.0f, 0.0f, 0.0f); in fetchTexel() 258 resultMax = Vec4(0.0f, 0.0f, 0.0f, 0.0f); in fetchTexel() 263 resultMin = Vec4(0.0f, 0.0f, 0.0f, 1.0f); in fetchTexel() 264 resultMax = Vec4(0.0f, 0.0f, 0.0f, 1.0f); in fetchTexel() [all …]
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cTextureGatherTests.cpp | 44 using tcu::Vec4; 62 …g_color_eps = Vec4(1.f / (float)(1 << pixelFormat.redBits), 1.f / (float)(1 << pixelFormat.greenBi… in TGBase() 68 Vec4 g_color_eps; 266 inline bool ColorEqual(const Vec4& c0, const Vec4& c1, const Vec4& epsilon) in ColorEqual() 616 std::vector<Vec4> pixels(csize * csize, Vec4(1.0)); in CreateTextureCubeArray() 627 …Vec4 data[4] = { Vec4(12. / 16, 13. / 16, 14. / 16, 15. / 16), Vec4(8. / 16, 9. / 16, 10. / 16, 11… in CreateTextureCubeArray() 628 Vec4(0. / 16, 1. / 16, 2. / 16, 3. / 16), Vec4(4. / 16, 5. / 16, 6. / 16, 7. / 16) }; in CreateTextureCubeArray() 630 Vec4 depthData(data[0][0], data[1][0], data[2][0], data[3][0]); in CreateTextureCubeArray() 631 Vec4* packedData = (format == GL_DEPTH_COMPONENT) ? &depthData : data; in CreateTextureCubeArray() 706 std::vector<Vec4> pixels(csize * csize, Vec4(1.0)); in CreateTexture2DArray() [all …]
|
/external/deqp/framework/common/ |
D | 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; 93 …TextureFormatInfo (const Vec4& valueMin_, const Vec4& valueMax_, const Vec4& lookupScale_, const V… in TextureFormatInfo() 113 void clear (const PixelBufferAccess& access, const Vec4& color); [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fFboTestUtil.hpp | 58 …es, glu::DataType outputType, const tcu::Vec4& outScale = tcu::Vec4(1.0f), const tcu::Vec4& outBia… 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; 79 tcu::Vec4 m_outScale; 80 tcu::Vec4 m_outBias; 93 void setTexScaleBias (const tcu::Vec4& scale, const tcu::Vec4& bias); 101 tcu::Vec4 m_texScale; 102 tcu::Vec4 m_texBias; [all …]
|
D | es31fShaderFramebufferFetchTests.cpp | 145 tcu::Vec4 getFixedPointFormatThreshold (const tcu::TextureFormat& sourceFormat, const tcu::TextureF… in getFixedPointFormatThreshold() 159 …return tcu::Vec4(3.0f) / ((tcu::Vector<deUint64, 4>(1) << (tcu::min(srcBits, readBits).cast<deUint… in getFixedPointFormatThreshold() 250 tcu::Vec4 scaleColorValue (tcu::TextureFormat format, const tcu::Vec4& color) in scaleColorValue() 253 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in scaleColorValue() 254 const tcu::Vec4 cBias = fmtInfo.valueMin; in scaleColorValue() 274 void genFramebufferWithTexture (const tcu::Vec4& color); 275 void genAttachementTexture (const tcu::Vec4& color); 276 void genUniformColor (const tcu::Vec4& color); 389 void FramebufferFetchTestCase::genFramebufferWithTexture (const tcu::Vec4& color) in genFramebufferWithTexture() 401 void FramebufferFetchTestCase::genAttachementTexture (const tcu::Vec4& color) in genAttachementTexture() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/rasterization/ |
D | vktRasterizationTests.cpp | 150 …void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData,… 151 …es (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec… 598 void BaseRenderingTestInstance::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>&… in drawPrimitives() 601 const std::vector<tcu::Vec4> colorData(vertexData.size(), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f)); in drawPrimitives() 606 …tives (tcu::Surface& result, const std::vector<tcu::Vec4>& positionData, const std::vector<tcu::Ve… in drawPrimitives() 613 const size_t attributeBatchSize = positionData.size() * sizeof(tcu::Vec4); in drawPrimitives() 633 sizeof(tcu::Vec4), // deUint32 strideInBytes; in drawPrimitives() 751 …s, *m_frameBuffer, vk::makeRect2D(0, 0, m_renderSize, m_renderSize), tcu::Vec4(0.0f, 0.0f, 0.0f, 1… in drawPrimitives() 857 …virtual void generateTriangles (int iteration, std::vector<tcu::Vec4>& outData, std::vector<Tr… 879 std::vector<tcu::Vec4> drawBuffer; in iterate() [all …]
|
/external/deqp/external/openglcts/modules/common/ |
D | glcBlendEquationAdvancedTests.cpp | 153 static float GetP0(const tcu::Vec4& src, const tcu::Vec4& dst) in GetP0() 157 static float GetP1(const tcu::Vec4& src, const tcu::Vec4& dst) in GetP1() 161 static float GetP2(const tcu::Vec4& src, const tcu::Vec4& dst) in GetP2() 166 static tcu::Vec4 Blend(const tcu::Vec4& rgb, const tcu::Vec4& src, const tcu::Vec4& dst) in Blend() 170 tcu::Vec4 rgbOut = (p[0] * rgb) + (p[1] * src) + (p[2] * dst); in Blend() 171 return tcu::Vec4(rgbOut[0], rgbOut[1], rgbOut[2], alpha); in Blend() 174 static tcu::Vec4 BlendMultiply(const tcu::Vec4& src, const tcu::Vec4& dst) in BlendMultiply() 176 tcu::Vec4 rgb = src * dst; in BlendMultiply() 181 static tcu::Vec4 BlendScreen(const tcu::Vec4& src, const tcu::Vec4& dst) in BlendScreen() 183 tcu::Vec4 rgb = src + dst - src * dst; in BlendScreen() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawShaderDrawParametersTests.cpp | 154 m_data.push_back(VertexElementData(tcu::Vec4( 1.0f, -1.0f, 1.0f, 1.0f), tcu::Vec4(1.0f), -1)); in DrawTest() 155 m_data.push_back(VertexElementData(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::Vec4(1.0f), -1)); in DrawTest() 160 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, -0.3f, 1.0f, 1.0f), tcu::Vec4(1.0f), refIndex+… in DrawTest() 161 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::Vec4(1.0f), refIndex+… in DrawTest() 162 …m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::Vec4(1.0f), refIndex+… in DrawTest() 163 …m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, 0.3f, 1.0f, 1.0f), tcu::Vec4(1.0f), refIndex+… in DrawTest() 165 m_data.push_back(VertexElementData(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::Vec4(1.0f), -1)); in DrawTest() 166 m_data.push_back(VertexElementData(tcu::Vec4( 1.0f, -1.0f, 1.0f, 1.0f), tcu::Vec4(1.0f), -1)); in DrawTest() 167 m_data.push_back(VertexElementData(tcu::Vec4(-1.0f, -1.0f, 1.0f, 1.0f), tcu::Vec4(1.0f), -1)); in DrawTest() 172 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, -0.3f, 1.0f, 1.0f), tcu::Vec4(1.0f), refIndex+… in DrawTest() [all …]
|