Add depthBounds tests for VK_EXT_depth_range_unrestricted
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Wed, 5 Jun 2019 07:24:40 +0000 (09:24 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 18 Jul 2019 14:16:52 +0000 (10:16 -0400)
commitfb52da6627ca19806212dcbe5db750b7fc27f6b4
treebcf649f1e6a3a2b8ec12fe1334409f2415da8c22
parentd0723c29d2b53b5d072966bf97ccfac840e06b2c
Add depthBounds tests for VK_EXT_depth_range_unrestricted

Added tests check that depthbounds range values outside [0.0f, 1.0f]
are properly supported by the drivers.

This test will draw the same scene two times. The first time, it will
render the points depending on if they pass the depth test and if clear
depth value passes the depthBounds test.

The second time, will render the same scene but the the point positions
will have depth buffer values from the first draw. If they pass the
depth test, then the depthBounds test will check the previous content
of the depth buffer, which is most cases, will make that the second
image differs from the first one.

Added new tests:

    dEQP-VK.pipeline.depth_range_unrestricted.depthbounds.*

Components: Vulkan
VK-GL-CTS issue: 1754

Change-Id: Ica136efd9e946db63b2092914566d43214b7b641
android/cts/master/vk-master.txt
external/vulkancts/modules/vulkan/pipeline/vktPipelineDepthRangeUnrestrictedTests.cpp
external/vulkancts/mustpass/master/vk-default-no-waivers.txt
external/vulkancts/mustpass/master/vk-default.txt