Home
last modified time | relevance | path

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

/external/deqp/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()
/external/deqp/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()
/external/deqp/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()
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalClearAttachmentTests.cpp188 const tcu::Vec4 referenceColor = m_conditionalData.expectCommandExecution ? in iterate() local
195 referenceFrame.getLevel(0).setPixel(referenceColor, x, y); in iterate()
DvktConditionalDrawTests.cpp462 const tcu::Vec4 referenceColor = m_conditionalData.expectCommandExecution ? in iterate() local
479 referenceFrame.getLevel(0).setPixel(referenceColor, x, y); in iterate()
/external/swiftshader/tests/GLESUnitTests/
Dunittests.cpp53 void expectFramebufferColor(const unsigned char referenceColor[4], GLint x = 0, GLint y = 0) in expectFramebufferColor()
58 EXPECT_EQ(color[0], referenceColor[0]); in expectFramebufferColor()
59 EXPECT_EQ(color[1], referenceColor[1]); in expectFramebufferColor()
60 EXPECT_EQ(color[2], referenceColor[2]); in expectFramebufferColor()
61 EXPECT_EQ(color[3], referenceColor[3]); in expectFramebufferColor()
64 void expectFramebufferColor(const float referenceColor[4], GLint x = 0, GLint y = 0) in expectFramebufferColor()
69 EXPECT_EQ(color[0], referenceColor[0]); in expectFramebufferColor()
70 EXPECT_EQ(color[1], referenceColor[1]); in expectFramebufferColor()
71 EXPECT_EQ(color[2], referenceColor[2]); in expectFramebufferColor()
72 EXPECT_EQ(color[3], referenceColor[3]); in expectFramebufferColor()
/external/deqp/modules/gles31/functional/
Des31fSRGBDecodeTests.cpp894 tcu::Vec4 formatReferenceColor (tcu::Vec4 referenceColor);
1212 tcu::Vec4 SRGBTestCase::formatReferenceColor (tcu::Vec4 referenceColor) in formatReferenceColor() argument
1218 return referenceColor; in formatReferenceColor()
1223 referenceColor.y() = 0; in formatReferenceColor()
1224 referenceColor.z() = 0; in formatReferenceColor()
1225 return referenceColor; in formatReferenceColor()
1230 return referenceColor; in formatReferenceColor()