Fix verifyMultisampleLineGroupRasterization
authorBoris Zanin <boris.zanin@mobica.com>
Tue, 17 Mar 2020 08:28:55 +0000 (09:28 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 19 Mar 2020 08:21:10 +0000 (04:21 -0400)
Incorrect resolution has damaged verifcation function
verifyMultisampleLineGroupRasterization forcing it
to work always in strict mode causing tests to report
false failures.

Affected tests:
 * dEQP-VK.rasterization.*

Components: Vulkan

VK-GL-CTS issue: 1024

Change-Id: Id079cd4d25f9b2f21a94d8443b9dce2679fcbc8c

framework/common/tcuRasterizationVerifier.cpp

index 8fe7cf3..0603f9e 100644 (file)
@@ -1073,7 +1073,7 @@ bool verifyMultisampleLineGroupRasterization (const tcu::Surface&                                         surface,
                logStash->messages.push_back("Rasterization line draw strictness mode: " + std::string(strictMode ? "strict" : "non-strict") + ".");
        }
 
-       return verifyTriangleGroupRasterization(surface, triangleScene, args, log, VERIFICATIONMODE_STRICT, logStash, vulkanLinesTest);
+       return verifyTriangleGroupRasterization(surface, triangleScene, args, log, scene.verificationMode, logStash, vulkanLinesTest);
 }
 
 bool verifyMultisampleLineGroupInterpolationInternal (const tcu::Surface&                                              surface,