Added two-step variants of surface clear tests
authorJari Komppa <jari.komppa@siru.fi>
Tue, 12 Dec 2017 12:48:39 +0000 (14:48 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Tue, 19 Dec 2017 13:33:49 +0000 (08:33 -0500)
commit053c95474556c4c0d19a0dd97705731683c83047
tree3a0116aac3dc20fdcad05fd7522d98d35ba169dc
parent44ca27bcbfe7120a377865d60dc3686ff0d668f3
Added two-step variants of surface clear tests

Some platforms have had issues with the validation layer test which
first clears the first layer of a depth-stencil surface and immediately
afterwards clears all the layers with VK_REMAINING_ARRAY_LAYERS. This
change adds tests that do the same for all the depth-stencil formats, as
well as all the color formats where VK_REMAINING_ARRAY_LAYERS parameter
makes sense.

Affects:

dEQP-VK.api.image_clearing.core.clear_color_image.1d.remaining_array_layers_twostep.*
dEQP-VK.api.image_clearing.core.clear_color_image.2d.remaining_array_layers_twostep.*
dEQP-VK.api.image_clearing.core.clear_depth_stencil_image.remaining_array_layers_twostep.*
dEQP-VK.api.image_clearing.dedicated_allocation.clear_color_image.1d.remaining_array_layers_twostep.*
dEQP-VK.api.image_clearing.dedicated_allocation.clear_color_image.2d.remaining_array_layers_twostep.*
dEQP-VK.api.image_clearing.dedicated_allocation.clear_depth_stencil_image.remaining_array_layers_twostep.*

Components: Vulkan

VK-GL-CTS issue: 835

Change-Id: I2666ddf4074f1c427124991bbfd1f9c21f8cab5e
android/cts/master/vk-master.txt
external/vulkancts/modules/vulkan/api/vktApiImageClearingTests.cpp
external/vulkancts/mustpass/1.0.3/vk-default.txt