From a2b8aae9a8d4a37e06cfe1d3db23ed91691e0758 Mon Sep 17 00:00:00 2001 From: Tobin Ehlis Date: Mon, 21 Nov 2016 10:36:16 -0700 Subject: tests:Add DSUpdateEmptyBinding test Try to update an empty descriptor binding and verify that correct error is flagged. Also updated database file to record testname and the fact that the check is implemented. --- layers/vk_validation_error_database.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layers/vk_validation_error_database.txt b/layers/vk_validation_error_database.txt index 2bff0cbe..ee4331c1 100644 --- a/layers/vk_validation_error_database.txt +++ b/layers/vk_validation_error_database.txt @@ -2292,5 +2292,5 @@ VALIDATION_ERROR_02344~^~U~^~Unknown~^~vkCreateImage~^~For more information refe VALIDATION_ERROR_02345~^~Y~^~DuplicateDescriptorBinding~^~vkCreateDescriptorSetLayout~^~For more information refer to Vulkan Spec Section '13.2.1. Descriptor Set Layout' which states 'The VkDescriptorSetLayoutBinding::binding members of the elements of the pBindings array must each have different values.' (https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkDescriptorSetLayoutCreateInfo)~^~ VALIDATION_ERROR_02346~^~U~^~Unknown~^~vkAllocateMemory~^~For more information refer to Vulkan Spec Section '10.2. Device Memory' which states 'handleType must not have more than one bit set.' (https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkExternalMemoryHandleTypeFlagBitsNV)~^~ VALIDATION_ERROR_02347~^~U~^~Unknown~^~vkAllocateMemory~^~For more information refer to Vulkan Spec Section '10.2. Device Memory' which states 'handle must be a valid handle to memory, obtained as specified by handleType.' (https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkExternalMemoryHandleTypeFlagBitsNV)~^~ -VALIDATION_ERROR_02348~^~U~^~Unknown~^~vkUpdateDescriptorSets~^~For more information refer to Vulkan Spec Section '13.2.4. Descriptor Set Updates' which states 'dstBinding must be a binding with a non-zero descriptorCount' (https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#descriptorsets-updates-consecutive)~^~ +VALIDATION_ERROR_02348~^~Y~^~DSUpdateEmptyBinding~^~vkUpdateDescriptorSets~^~For more information refer to Vulkan Spec Section '13.2.4. Descriptor Set Updates' which states 'dstBinding must be a binding with a non-zero descriptorCount' (https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#descriptorsets-updates-consecutive)~^~ -- cgit v1.2.3