bigwheels icon indicating copy to clipboard operation
bigwheels copied to clipboard

[graphics_pipeline] Toggling 1x1 texture mode causes crash

Open angela28chen opened this issue 1 year ago • 0 comments

To repro: vk_graphics_pipeline.exe Then use UI to switch ps to membound and check the box for 1x1 textures.

Error message:

*** VULKAN VALIDATION ERROR MESSAGE ***
Severity : ERROR
Type     : [VALIDATION]
Objects  : [0]: <UNNAMED OBJECT>
Message  : Validation Error: [ VUID-vkUpdateDescriptorSets-None-03047 ] Object 0: handle = 0xe9d45100000000a8, type = VK_OBJECT_TYPE_DESCRIPTOR_SET; | MessageID = 0x35d7ea98 | vkUpdateDescriptorSets() pDescriptorWrites[0] failed write update validation for VkDescriptorSet 0xe9d45100000000a8[] with error: Cannot call vkUpdateDescriptorSets() to perform write update on VkDescriptorSet 0xe9d45100000000a8[] allocated with VkDescriptorSetLayout 0xea035600000000a7[] that is in use by a command buffer. The Vulkan spec states: Descriptor bindings updated by this command which were created without the VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT or VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT bits set must not be used by any command that was recorded to a command buffer which is in the pending state ([https://vulkan.lunarg.com/doc/view/1.3.239.0/windows/1.3-extensions/vkspec.html#VUID-vkUpdateDescriptorSets-None-03047)```](https://vulkan.lunarg.com/doc/view/1.3.239.0/windows/1.3-extensions/vkspec.html#VUID-vkUpdateDescriptorSets-None-03047%29%60%60%60)

angela28chen avatar Feb 13 '24 22:02 angela28chen