Allow Bresenham for single-sample non-strict lines
authorRicardo Garcia <rgarcia@igalia.com>
Wed, 15 Jul 2020 13:22:33 +0000 (15:22 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 22 Jul 2020 07:42:38 +0000 (03:42 -0400)
commitcf5827e7d76c19ceb737a94103d89405e36875c5
tree540a83a086947bb06a4cefea113eacba68e1b867
parent4b40207be32deac1c567dacc70cde031bea005aa
Allow Bresenham for single-sample non-strict lines

Bresenham rasterization is allowed by Vulkan when using single-sample
non-strict lines but the current test verification function only checks
that possibility when the line width is 1.0.

Affected tests:
dEQP-VK.rasterization.interpolation.*line*
dEQP-VK.rasterization.flatshading.*line*

Components: Framework, Vulkan
VK-GL-CTS issue: 2437

Change-Id: I98a8a393fa387989faa40325629bfbf0b1f0567b
external/vulkancts/modules/vulkan/rasterization/vktRasterizationTests.cpp
framework/common/tcuRasterizationVerifier.cpp
framework/common/tcuRasterizationVerifier.hpp