Add tests for EXT_discard_rectangles
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Fri, 5 Apr 2019 09:28:21 +0000 (11:28 +0200)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Fri, 26 Apr 2019 08:01:29 +0000 (10:01 +0200)
commit337ea07631bdd663c236c275b88618da5c6c3205
tree94bcddfa12356bd298899118e860865df82c1352
parent5deebf4709ed3e2c3aaad3b8bb8703f236309b97
Add tests for EXT_discard_rectangles

Added tests that check that the rendered image is correct for the the
combination of: the two different modes (inclusive, exclusive),
different number of rectangles (1, 2, 3, 4, 8, 16), dynamic discard
rectangles, scissor, dynamic scissor.

These tests don't check that the device groups work as expected.

New tests:

dEQP-VK.draw.discard_rectangles.*

Components: Vulkan
VK-GL-CTS issue: 1679

Change-Id: Idcfe2a9fc9113051fd72e51a0019e4247463cede
AndroidGen.mk
android/cts/master/vk-master.txt
external/vulkancts/modules/vulkan/draw/CMakeLists.txt
external/vulkancts/modules/vulkan/draw/vktDrawDiscardRectanglesTests.cpp [new file with mode: 0644]
external/vulkancts/modules/vulkan/draw/vktDrawDiscardRectanglesTests.hpp [new file with mode: 0644]
external/vulkancts/modules/vulkan/draw/vktDrawTests.cpp
external/vulkancts/mustpass/master/vk-default-no-waivers.txt
external/vulkancts/mustpass/master/vk-default.txt