Validate samplerless descriptor writes
authorRicardo Garcia <rgarcia@igalia.com>
Fri, 24 Jan 2020 08:39:06 +0000 (09:39 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Tue, 18 Feb 2020 09:06:51 +0000 (04:06 -0500)
commit07f95e9b8975d32b81fe36234b607ef7702ffc1c
tree46e17edaf46c9b18bb9aedc1c93d288a4883c40e
parent42784e55633b9fb827a8663688cf4ce6beb0c7ef
Validate samplerless descriptor writes

This commits adds a few tests that update image-related descriptors for
descriptor types in which the sampler field of the VkDescriptorImageInfo
structure, used in VkWriteDescriptorSet, is supposed to be ignored.
Given that premise, the tests try to set the sampler field to different
values like VK_NULL_HANDLE, a fixed value of 1 and the handler for a
destroyed sampler. This should have no side effects.

New tests:
dEQP-VK.binding_model.descriptor_update.samplerless.*

Components: Vulkan
VK-GL-CTS issue: 2172

Change-Id: I87bf4226738ecd2ff7d2c7aa23551f22d43a8637
android/cts/master/vk-master.txt
external/vulkancts/modules/vulkan/binding_model/vktBindingDescriptorUpdateTests.cpp
external/vulkancts/mustpass/master/vk-default-no-waivers.txt
external/vulkancts/mustpass/master/vk-default.txt