Extend rasterization testing, modify verification
authorMike Byrne <mike.byrne@arm.com>
Mon, 13 May 2019 14:15:02 +0000 (15:15 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Tue, 3 Dec 2019 18:47:08 +0000 (13:47 -0500)
commit3c725e6b7c5406f828ab684f1ecc9e0173f2884f
tree83de2f5d51058eda3706e8eca22bdbeff0e9a59a
parent52524b127395f0cc830b44c6c1693497476d85f6
Extend rasterization testing, modify verification

dEQP-VK.rasterization.primitives.lines tests are extended to add tests
drawing vertical and horizontal lines.

Extend dEQP-VK.rasterization.primitives.lines and
dEQP-VK.rasterization.primitives_multisample_n_bit.lines to test at 258
resolution (a non power of two resolution).

The strict line verification coverage is modified to allow checking of
vertical and horizontal lines. Previously pixels in vertical or hori-
zontal lines were marked as partially covered and hence the test did
not detect whether the lines were rendered correctly or not.

Affects: dEQP-VK.rasterization.primitives*

Components: Vulkan

VK-GL-CTS Issue: 2062

Change-Id: Ifb76a44ba1ebdc97353bbd1a4b2552e415f2723d
(cherry picked from commit d297d9af7e55da0b0377bec4b9c1eb9d7209a40b)
external/vulkancts/modules/vulkan/rasterization/vktRasterizationTests.cpp
framework/common/tcuRasterizationVerifier.cpp
framework/common/tcuRasterizationVerifier.hpp