Fix valid usage violation in vkFreeDescriptorSets
authorGangzheng Tong <gtong@nvidia.com>
Mon, 16 May 2022 18:23:01 +0000 (18:23 +0000)
committerPiers Daniell <pdaniell@nvidia.com>
Fri, 20 May 2022 15:47:26 +0000 (09:47 -0600)
commit0581156cc47cea65f7f4228732006983b811baf2
tree24421fa60e865482284c09f4314833cda47a4167
parenta8c8a8df7a6b04c70caed1beff6307dfec871386
Fix valid usage violation in vkFreeDescriptorSets

The descriptor pool used in vkFreeDescriptorSets was not created with
the VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT flag, resulting a
valid usage check failed in the driver. Adding the flags fixes the
issue.

Affects:
dEQP-VKSC.sc.device_object_reservation.limits.request_count.*

Componnets:
VulkanSC

Change-Id: Id5ecff4c58478c13aaf035eaff07554c3260abf0
external/vulkancts/modules/vulkan/sc/vktDeviceObjectReservationTests.cpp