Slightly increase threshold in dEQP-VK.draw.basic_draw.draw_indirect
authorSlawomir Cygan <slawomir.cygan@intel.com>
Wed, 7 Jun 2017 17:55:09 +0000 (19:55 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Sun, 18 Jun 2017 10:54:01 +0000 (06:54 -0400)
The test draws a lot of intersecting lines and compare them to reference
renderer output.

Unfortunately, the test does not account for strictLines capability (hence
ignores that they are two line rasterization algorithms in Vulkan). On the
other hand it usess fuzzy compare, which somehow obfuscates that fact.

However, there is an issue where many (around 8) lines intersect in area covered
by one fuzzy 'kernel' invocation, where small difference results in false negative
comparison.

This change slightly increases the threshold.

Affects:  dEQP-VK.draw

Components: Vulkan

VK-GL-CTS issue: 495

Change-Id: I2dab225516b8a3dea937efe6c4fb042bc267481b

external/vulkancts/modules/vulkan/draw/vktBasicDrawTests.cpp

index 5b05662..151da27 100644 (file)
@@ -261,7 +261,7 @@ inline bool imageCompare (tcu::TestLog& log, const tcu::ConstPixelBufferAccess&
                        tcu::COMPARE_LOG_RESULT);
        }
        else
-               return tcu::fuzzyCompare(log, "Result", "Image comparison result", reference, result, 0.05f, tcu::COMPARE_LOG_RESULT);
+               return tcu::fuzzyCompare(log, "Result", "Image comparison result", reference, result, 0.053f, tcu::COMPARE_LOG_RESULT);
 }
 
 class DrawTestInstanceBase : public TestInstance