Need to add two more formats with proper threshold values in
vkApiCopiesAndBlittingTests.cpp: getFormatThreshold() to make
CTS pass on some VSI mobile GPUs.
Affects:
dEQP-VK.api.copy_and_blit.core.blit_image.simple_tests.*
dEQP-VK.api.copy_and_blit.core.blit_image.all_formats.*
dEQP-VK.api.copy_and_blit.dedicated_allocation.blit_image.*
Components: Vulkan
VK-GL-CTS issue: 2112
Change-Id: Ia3a314fd825ed13c44e49720fffffa2dff8f26af
threshold = tcu::Vec4(0.05f, 0.05f, 0.05f, 1.0f);
break;
+ case tcu::TextureFormat::UNORM_INT_1010102_REV:
+ threshold = tcu::Vec4(0.002f, 0.002f, 0.002f, 0.3f);
+ break;
+
+ case tcu:: TextureFormat::UNORM_INT8:
+ threshold = tcu::Vec4(0.008f, 0.008f, 0.008f, 0.008f);
+ break;
+
default:
const tcu::IVec4 bits = tcu::getTextureFormatMantissaBitDepth(format);
threshold = tcu::Vec4(calculateFloatConversionError(bits.x()),