Allow Bresenham for single sample nonstrict lines
authorMarcin Kańtoch <marcin.kantoch@amd.com>
Wed, 20 May 2020 13:00:28 +0000 (15:00 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 4 Jun 2020 17:51:21 +0000 (13:51 -0400)
Components: Vulkan
VK-GL-CTS Issue: 2374

Affects:
dEQP-VK.rasterization.primitives*line*

Change-Id: I6e0ca86ba9a1e289942e5ef4ee3570379b72375d

framework/common/tcuRasterizationVerifier.cpp

index 4ab791f..6660fcd 100644 (file)
@@ -2763,6 +2763,10 @@ bool verifyRelaxedLineGroupRasterization (const tcu::Surface& surface, const Lin
 
                return true;
        }
+       else if (strict == false && args.numSamples == 0 && verifyLineGroupRasterization(surface, scene, args, log))
+       {
+               return true;
+       }
        else
        {
                log << tcu::TestLog::Message << "Relaxed rasterization failed, details follow." << tcu::TestLog::EndMessage;