blit_image: compute validation threshold based on I/O formats
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 9 Aug 2016 12:13:27 +0000 (13:13 +0100)
committerPyry Haulos <phaulos@google.com>
Thu, 29 Sep 2016 19:10:22 +0000 (15:10 -0400)
commitbd6f90c07f4bd0e0667ada50e134b479eeab78c5
tree24388bfad5b31eded946f8469c7bf5ca8bccf950
parent570326e5c8d85fe16fa6ce36de73c8f9bcba4d3e
blit_image: compute validation threshold based on I/O formats

Whereas dEQP-GLES3.functional.fbo.blit.conversion.rgb565_to_rgba32f is
passing on my Haswell machine,
dEQP-VK.api.copy_and_blit.blit_image.all_formats.r5g6b5_unorm_pack16_r32g32b32a32_sfloat_linear
is failing. It seems the criteria is different between the 2 tests. This
change puts the vulkan tests a bit closer to the GLES3 ones.

Change-Id: I4e4879270baaf707e71de030b916ea49ee0f65ba
external/vulkancts/modules/vulkan/api/vktApiCopiesAndBlittingTests.cpp