Home
last modified time | relevance | path

Searched refs:referenceColor (Results 1 – 20 of 20) sorted by relevance

/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLayeredRenderingFBONoAttachment.cpp392 const int referenceColor[4] = { 0, 255, 0, 0 }; in iterate() local
396 if (m_layer_data[nPx * m_n_texture_components + 0] != referenceColor[0] || in iterate()
397 m_layer_data[nPx * m_n_texture_components + 1] != referenceColor[1] || in iterate()
398 m_layer_data[nPx * m_n_texture_components + 2] != referenceColor[2] || in iterate()
399 m_layer_data[nPx * m_n_texture_components + 3] != referenceColor[3]) in iterate()
406 << referenceColor[0] << "," << referenceColor[1] << "," << referenceColor[2] in iterate()
407 << "," << referenceColor[3] << "," in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5SamplerArrayIndexing.cpp298 const glw::GLubyte referenceColor[] = { 255, 255, 255, 255 }; in iterate() local
313 if (memcmp(referenceColor, buffer, sizeof(referenceColor))) in iterate()
317 << "] is different from reference color [" << (int)referenceColor[0] << ", " in iterate()
318 … << (int)referenceColor[1] << ", " << (int)referenceColor[2] << ", " << (int)referenceColor[3] in iterate()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DImageTestMetal.mm338 std::array<GLubyte, 16> referenceColor;
339 referenceColor.fill(127);
342 referenceColor.data());
344 referenceColor.data());
348 verifyResults2D(texTarget, referenceColor.data());
DImageTest.cpp715 const GLubyte referenceColor[4], in verifyResultsTexture()
729 EXPECT_PIXEL_NEAR(0, 0, referenceColor[0], referenceColor[1], referenceColor[2], in verifyResultsTexture()
730 referenceColor[3], 1); in verifyResultsTexture()
766 void verifyResultsRenderbuffer(GLRenderbuffer &renderbuffer, GLubyte referenceColor[4]) in verifyResultsRenderbuffer()
776 EXPECT_PIXEL_NEAR(0, 0, referenceColor[0], referenceColor[1], referenceColor[2], in verifyResultsRenderbuffer()
777 referenceColor[3], 1); in verifyResultsRenderbuffer()
1752 std::array<GLubyte, 16> referenceColor; in TEST_P() local
1753 referenceColor.fill(127); in TEST_P()
1756 referenceColor.data()); in TEST_P()
1760 verifyResults2D(target, referenceColor.data()); in TEST_P()
DTextureTest.cpp455 void verifyResults2D(GLuint texture, GLubyte referenceColor[4]) in verifyResults2D()
466 EXPECT_PIXEL_NEAR(0, 0, referenceColor[0], referenceColor[1], referenceColor[2], in verifyResults2D()
467 referenceColor[3], 1); in verifyResults2D()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineExtendedDynamicStateTests.cpp1257 const auto referenceColor = reference.getPixel(0, 0); in verifyTopLeftCorner() local
1262 const bool match = (resultColor == referenceColor); in verifyTopLeftCorner()
1453 ReferenceColorGenerator::P referenceColor; member
1591 , referenceColor (new SingleColorGenerator(kDefaultTriangleColor)) in TestConfig()
1686 , referenceColor (other.referenceColor->clone()) in TestConfig()
5137 (*m_testConfig.referenceColor)(referenceColorAccess); in iterate()
5432 config.referenceColor.reset (new SingleColorGenerator(kDefaultClearColor)); in createExtendedDynamicStateTests()
5458 config.referenceColor.reset (new SingleColorGenerator(kDefaultClearColor)); in createExtendedDynamicStateTests()
5468 config.referenceColor.reset (new SingleColorGenerator(kDefaultClearColor)); in createExtendedDynamicStateTests()
5477 config.referenceColor.reset (new SingleColorGenerator(kDefaultClearColor)); in createExtendedDynamicStateTests()
[all …]
DvktPipelineBlendTests.cpp1992 tcu::Vec4 referenceColor; in iterate() local
1994 referenceColor[i] = clampedBlendConstants[i] * clampedQuadColor[i]; in iterate()
2002 …().getLog(), "BlendClampCompare", "Blend clamping pixel comparison", referenceColor, pixelBufferAc… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineExtendedDynamicStateTests.cpp1257 const auto referenceColor = reference.getPixel(0, 0); in verifyTopLeftCorner() local
1262 const bool match = (resultColor == referenceColor); in verifyTopLeftCorner()
1453 ReferenceColorGenerator::P referenceColor; member
1591 , referenceColor (new SingleColorGenerator(kDefaultTriangleColor)) in TestConfig()
1686 , referenceColor (other.referenceColor->clone()) in TestConfig()
5137 (*m_testConfig.referenceColor)(referenceColorAccess); in iterate()
5432 config.referenceColor.reset (new SingleColorGenerator(kDefaultClearColor)); in createExtendedDynamicStateTests()
5458 config.referenceColor.reset (new SingleColorGenerator(kDefaultClearColor)); in createExtendedDynamicStateTests()
5468 config.referenceColor.reset (new SingleColorGenerator(kDefaultClearColor)); in createExtendedDynamicStateTests()
5477 config.referenceColor.reset (new SingleColorGenerator(kDefaultClearColor)); in createExtendedDynamicStateTests()
[all …]
DvktPipelineBlendTests.cpp1992 tcu::Vec4 referenceColor; in iterate() local
1994 referenceColor[i] = clampedBlendConstants[i] * clampedQuadColor[i]; in iterate()
2002 …().getLog(), "BlendClampCompare", "Blend clamping pixel comparison", referenceColor, pixelBufferAc… in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cShaderViewportLayerArrayTests.cpp260 bool ShaderViewportLayerArrayUtils::validateColor(tcu::Vec4 renderedColor, tcu::Vec4 referenceColor) in validateColor() argument
263 return de::abs(renderedColor.x() - referenceColor.x()) < epsilon && in validateColor()
264 de::abs(renderedColor.y() - referenceColor.y()) < epsilon && in validateColor()
265 de::abs(renderedColor.z() - referenceColor.z()) < epsilon && in validateColor()
266 de::abs(renderedColor.w() - referenceColor.w()) < epsilon; in validateColor()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalClearAttachmentTests.cpp202 const tcu::Vec4 referenceColor = m_conditionalData.expectCommandExecution ? in iterate() local
209 referenceFrame.getLevel(0).setPixel(referenceColor, x, y); in iterate()
DvktConditionalDrawTests.cpp561 const tcu::Vec4 referenceColor = m_conditionalData.expectCommandExecution ? drawColor : clearColor; in iterate() local
577 referenceFrame.getLevel(0).setPixel(referenceColor, x, y); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/
DvktConditionalClearAttachmentTests.cpp202 const tcu::Vec4 referenceColor = m_conditionalData.expectCommandExecution ? in iterate() local
209 referenceFrame.getLevel(0).setPixel(referenceColor, x, y); in iterate()
DvktConditionalDrawTests.cpp561 const tcu::Vec4 referenceColor = m_conditionalData.expectCommandExecution ? drawColor : clearColor; in iterate() local
577 referenceFrame.getLevel(0).setPixel(referenceColor, x, y); in iterate()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fSRGBDecodeTests.cpp896 tcu::Vec4 formatReferenceColor (tcu::Vec4 referenceColor);
1234 tcu::Vec4 SRGBTestCase::formatReferenceColor (tcu::Vec4 referenceColor) in formatReferenceColor() argument
1240 return referenceColor; in formatReferenceColor()
1245 referenceColor.z() = 0; in formatReferenceColor()
1246 return referenceColor; in formatReferenceColor()
1251 referenceColor.y() = 0; in formatReferenceColor()
1252 referenceColor.z() = 0; in formatReferenceColor()
1253 return referenceColor; in formatReferenceColor()
1258 return referenceColor; in formatReferenceColor()
/third_party/skia/third_party/externals/swiftshader/tests/GLESUnitTests/
Dunittests.cpp56 void expectFramebufferColor(const unsigned char referenceColor[4], GLint x = 0, GLint y = 0) in expectFramebufferColor()
61 EXPECT_EQ(color[0], referenceColor[0]); in expectFramebufferColor()
62 EXPECT_EQ(color[1], referenceColor[1]); in expectFramebufferColor()
63 EXPECT_EQ(color[2], referenceColor[2]); in expectFramebufferColor()
64 EXPECT_EQ(color[3], referenceColor[3]); in expectFramebufferColor()
67 void expectFramebufferColor(const float referenceColor[4], GLint x = 0, GLint y = 0) in expectFramebufferColor()
72 EXPECT_EQ(color[0], referenceColor[0]); in expectFramebufferColor()
73 EXPECT_EQ(color[1], referenceColor[1]); in expectFramebufferColor()
74 EXPECT_EQ(color[2], referenceColor[2]); in expectFramebufferColor()
75 EXPECT_EQ(color[3], referenceColor[3]); in expectFramebufferColor()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawMultiExtTests.cpp1263 tcu::IVec4 referenceColor; in iterate() local
1276 referenceColor = tcu::IVec4(0, 0, 0, 0); in iterate()
1291 referenceColor = tcu::IVec4( in iterate()
1300 refColorAccess.setPixel(referenceColor, x, y); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
DvktDrawMultiExtTests.cpp1263 tcu::IVec4 referenceColor; in iterate() local
1276 referenceColor = tcu::IVec4(0, 0, 0, 0); in iterate()
1291 referenceColor = tcu::IVec4( in iterate()
1300 refColorAccess.setPixel(referenceColor, x, y); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderQueryTestsEXT.cpp1160 …const auto referenceColor = ((m_params->getTotalDrawCount() > 0u) ? tcu::Vec4(0.0f, green, 1.0f, 1… in iterate() local
1163 …if (!tcu::floatThresholdCompare(log, "Color Result", "", referenceColor, layerAccess, threshold, t… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
DvktMeshShaderQueryTestsEXT.cpp1160 …const auto referenceColor = ((m_params->getTotalDrawCount() > 0u) ? tcu::Vec4(0.0f, green, 1.0f, 1… in iterate() local
1163 …if (!tcu::floatThresholdCompare(log, "Color Result", "", referenceColor, layerAccess, threshold, t… in iterate()