Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderGroupVoteTests.cpp61 const tcu::IVec4& desiredColor) in ComputeShader() argument
62 …: m_name(name), m_shader(shader), m_program(NULL), m_desiredColor(desiredColor), m_compileOnly(fal… in ComputeShader()
200 …eTestCaseBase::ComputeShader::validateScreenPixels(deqp::Context& context, tcu::IVec4 desiredColor) in validateScreenPixels() argument
213 if ((pixels[i + 0] != desiredColor.x()) || (pixels[i + 1] != desiredColor.y()) || in validateScreenPixels()
214 (pixels[i + 2] != desiredColor.z())) in validateScreenPixels()
DglcShaderGroupVoteTests.hpp48 bool validateScreenPixels(deqp::Context& context, tcu::IVec4 desiredColor);
53 ComputeShader(const std::string& name, const std::string& shader, const tcu::IVec4& desiredColor);
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cShaderBallotTests.cpp376 bool ShaderBallotBaseTestCase::validateScreenPixels(deqp::Context& context, tcu::Vec4 desiredColor, in validateScreenPixels() argument
416 if (!ShaderBallotBaseTestCase::validateColor(color, desiredColor)) in validateScreenPixels()
444 tcu::Vec4 desiredColor(centerPixel[0], centerPixel[1], centerPixel[2], centerPixel[3]); in validateScreenPixelsSameColor() local
449 return ShaderBallotBaseTestCase::validateScreenPixels(context, desiredColor, ignoredColor); in validateScreenPixelsSameColor()
452 bool ShaderBallotBaseTestCase::validateColor(tcu::Vec4 testedColor, tcu::Vec4 desiredColor) in validateColor() argument
455 return de::abs(testedColor.x() - desiredColor.x()) < epsilon && in validateColor()
456 de::abs(testedColor.y() - desiredColor.y()) < epsilon && in validateColor()
457 de::abs(testedColor.z() - desiredColor.z()) < epsilon && in validateColor()
458 de::abs(testedColor.w() - desiredColor.w()) < epsilon; in validateColor()
Dgl4cShaderAtomicCounterOpsTests.cpp453 bool ShaderAtomicCounterOpsTestBase::validateColor(tcu::Vec4 testedColor, tcu::Vec4 desiredColor) in validateColor() argument
456 return de::abs(testedColor.x() - desiredColor.x()) < epsilon && in validateColor()
457 de::abs(testedColor.y() - desiredColor.y()) < epsilon && in validateColor()
458 de::abs(testedColor.z() - desiredColor.z()) < epsilon; in validateColor()
461 bool ShaderAtomicCounterOpsTestBase::validateScreenPixels(tcu::Vec4 desiredColor, tcu::Vec4 ignored… in validateScreenPixels() argument
500 if (!validateColor(color, desiredColor)) in validateScreenPixels()
Dgl4cShaderBallotTests.hpp96 …static bool validateScreenPixels(deqp::Context& context, tcu::Vec4 desiredColor, tcu::Vec4 ignored…
98 static bool validateColor(tcu::Vec4 testedColor, tcu::Vec4 desiredColor);
Dgl4cShaderAtomicCounterOpsTests.hpp284 bool validateColor(tcu::Vec4 testedColor, tcu::Vec4 desiredColor);
285 bool validateScreenPixels(tcu::Vec4 desiredColor, tcu::Vec4 ignoredColor);
Dgl4cShaderViewportLayerArrayTests.hpp102 static bool validateColor(tcu::Vec4 testedColor, tcu::Vec4 desiredColor);