Home
last modified time | relevance | path

Searched refs:greenThreshold (Results 1 - 6 of 6) sorted by relevance

/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fReadPixelsTests.cpp219 const deUint8 greenThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())))); in iterate() local
233 if (tcu::bilinearCompare(m_testCtx.getLog(), "Result", "Result", referenceRGBA8.getLevel(0), resultRGBA8.getLevel(0), tcu::RGBA(redThreshold, greenThreshold, blueThreshold, alphaThreshold), tcu::COMPARE_LOG_RESULT)) in iterate()
242 const float greenThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())); in iterate() local
247 if (tcu::floatThresholdCompare(m_testCtx.getLog(), "Result", "Result", reference.getLevel(0), tcu::PixelBufferAccess(format, width, height, 1, rowPitch, 0, &(pixelData[0])), tcu::Vec4(redThreshold, greenThreshold, blueThreshold, alphaThreshold), tcu::COMPARE_LOG_RESULT)) in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fReadPixelsTests.cpp364 const deUint8 greenThreshold = (deUint8)deCeilFloatToInt32(256.0f * (2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())))); in iterate() local
378 if (tcu::bilinearCompare(m_testCtx.getLog(), "Result", "Result", referenceRGBA8.getLevel(0), resultRGBA8.getLevel(0), tcu::RGBA(redThreshold, greenThreshold, blueThreshold, alphaThreshold), tcu::COMPARE_LOG_RESULT)) in iterate()
387 const float greenThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())); in iterate() local
392 if (tcu::floatThresholdCompare(m_testCtx.getLog(), "Result", "Result", reference.getLevel(0), resultAccess, tcu::Vec4(redThreshold, greenThreshold, blueThreshold, alphaThreshold), tcu::COMPARE_LOG_RESULT)) in iterate()
H A Des3fPixelBufferObjectTests.cpp571 const float greenThreshold = 2.0f / (float)(1 << deMin32(m_context.getRenderTarget().getPixelFormat().greenBits, formatBitDepths.y())); in iterate() local
575 isOk = tcu::floatThresholdCompare(m_log, "Result comparision", "Result of read pixels to memory compared with result of read pixels to buffer", readRefrence.getLevel(0), readResult, tcu::Vec4(redThreshold, greenThreshold, blueThreshold, alphaThreshold), tcu::COMPARE_LOG_RESULT); in iterate()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fShaderMultisampleInterpolationTests.cpp83 const int greenThreshold = 8; in verifyGreenImage() local
85 if (color.getRed() > 0 || color.getGreen() < 255-greenThreshold || color.getBlue() > 0) in verifyGreenImage()
/third_party/vk-gl-cts/modules/gles2/stress/
H A Des2sSpecialFloatTests.cpp1402 const float greenThreshold = 0.1f;
1406 if (cNormal.x() != cSpecial.x() || cNormal.z() != cSpecial.z() || cNormal.y() < 1.0f - greenThreshold)
/third_party/vk-gl-cts/modules/gles3/stress/
H A Des3sSpecialFloatTests.cpp1765 const float greenThreshold = 0.1f;
1769 if (cNormal.x() != cSpecial.x() || cNormal.z() != cSpecial.z() || cNormal.y() < 1.0f - greenThreshold)

Completed in 11 milliseconds