Home
last modified time | relevance | path

Searched refs:formatThreshold (Results 1 - 5 of 5) sorted by relevance

/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fPolygonOffsetTests.cpp101 const tcu::RGBA formatThreshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold(); in compareImages() local
102 const tcu::IVec4 threshold = tcu::IVec4(colorThreshold, colorThreshold, colorThreshold, formatThreshold.getAlpha() > 0 ? colorThreshold : 0) in compareImages()
103 + tcu::IVec4(formatThreshold.getRed(), formatThreshold.getGreen(), formatThreshold.getBlue(), formatThreshold.getAlpha()); in compareImages()
H A Des3fFragmentOutputTests.cpp898 UVec4 formatThreshold; //!< Threshold computed based on format. in iterate() local
904 case tcu::TextureFormat::FLOAT: formatThreshold = UVec4(0); break; in iterate()
905 case tcu::TextureFormat::HALF_FLOAT: formatThreshold = UVec4((1<<(23-10))); break; in iterate()
906 case tcu::TextureFormat::UNSIGNED_INT_11F_11F_10F_REV: formatThreshold = UVec4((1<<(23-6)), (1<<(23-6)), (1<<(23-5)), 0); break; in iterate()
922 finalThreshold = select(max(formatThreshold, UVec4(deMax32(interpThreshold, outTypeThreshold))), UVec4(~0u), cmpMask); in iterate()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fPolygonOffsetTests.cpp98 const tcu::RGBA formatThreshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold(); in compareImages() local
99 const tcu::IVec4 threshold = tcu::IVec4(colorThreshold, colorThreshold, colorThreshold, formatThreshold.getAlpha() > 0 ? colorThreshold : 0) in compareImages()
100 + tcu::IVec4(formatThreshold.getRed(), formatThreshold.getGreen(), formatThreshold.getBlue(), formatThreshold.getAlpha()); in compareImages()
/third_party/vk-gl-cts/modules/gles2/stress/
H A Des2sSpecialFloatTests.cpp246 const tcu::RGBA formatThreshold = m_context.getRenderTarget().getPixelFormat().getColorThreshold(); in drawTestPattern() local
323 if (colorDiff.x() > formatThreshold.getRed() + colorThreshold || in drawTestPattern()
324 colorDiff.y() > formatThreshold.getGreen() + colorThreshold || in drawTestPattern()
325 colorDiff.z() > formatThreshold.getBlue() + colorThreshold) in drawTestPattern()
/third_party/vk-gl-cts/modules/gles3/stress/
H A Des3sSpecialFloatTests.cpp254 const tcu::RGBA formatThreshold = m_context.getRenderTarget().getPixelFormat().getColorThreshold(); in drawTestPattern() local
331 if (colorDiff.x() > formatThreshold.getRed() + colorThreshold || in drawTestPattern()
332 colorDiff.y() > formatThreshold.getGreen() + colorThreshold || in drawTestPattern()
333 colorDiff.z() > formatThreshold.getBlue() + colorThreshold) in drawTestPattern()

Completed in 11 milliseconds