From 31e4de59aaa210dceab20f4ef1bad38f8e8123bb Mon Sep 17 00:00:00 2001 From: Jeff Bolz Date: Mon, 14 Dec 2015 03:16:26 +0000 Subject: [PATCH] Fix thresholds for blend tests --- .../modules/vulkan/pipeline/vktPipelineBlendTests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/external/vulkancts/modules/vulkan/pipeline/vktPipelineBlendTests.cpp b/external/vulkancts/modules/vulkan/pipeline/vktPipelineBlendTests.cpp index 92bc6dfce..7d8c89c27 100644 --- a/external/vulkancts/modules/vulkan/pipeline/vktPipelineBlendTests.cpp +++ b/external/vulkancts/modules/vulkan/pipeline/vktPipelineBlendTests.cpp @@ -866,7 +866,7 @@ tcu::Vec4 BlendTestInstance::getFormatThreshold (const tcu::TextureFormat& forma case TextureFormat::UNORM_INT_1010102_REV: case TextureFormat::SNORM_INT_1010102_REV: - threshold = Vec4(getNormChannelThreshold(format, 10), getNormChannelThreshold(format, 10), getNormChannelThreshold(format, 10), 0.1f); + threshold = Vec4(getNormChannelThreshold(format, 10), getNormChannelThreshold(format, 10), getNormChannelThreshold(format, 10), 0.34f); break; case TextureFormat::UNORM_INT8: @@ -893,7 +893,7 @@ tcu::Vec4 BlendTestInstance::getFormatThreshold (const tcu::TextureFormat& forma break; case TextureFormat::UNSIGNED_INT_11F_11F_10F_REV: - threshold = Vec4(0.02f, 0.02f, 0.02f, 1.0f); + threshold = Vec4(0.02f, 0.02f, 0.0625f, 1.0f); break; case TextureFormat::UNSIGNED_INT_999_E5_REV: -- 2.34.1