Open codecnotsupported opened 1 year ago
Check descriptor indexing accesses
causes the same issue.
But only in my test application, it doesn't affect the desciptor_buffer_basic
sample.
Descriptor buffer GPU-AV is a work in progress. I've been meaning to add a warning for a while. Added in #6030
Environment:
VK_LAYER_KHRONOS_validation
->GPU-base (GPU-assisted)
->Check Out of Bounds
Describe the Issue
The
Check Out of Bounds
option in theVK_LAYER_KHRONOS_validation
causes descriptor to be invalid when using descriptor buffers.This can be verified by running the
desciptor_buffer_basic
sample from Vulkan-Samples with the "Check Out of Bounds" option enabled in Vulkan Configurator.Note: The Imgui overlay still works fine in the sample, which uses vkCmdBindDescriptorSets, which might mean that
Check Out of Bounds
is only using vkCmdBindDescriptorSets instead of vkCmdBindDescriptorBuffersEXT & vkCmdSetDescriptorBufferOffsetsEXT when descriptor buffers are used. Causing the descriptor set to be invalidated.Expected behavior
I expect a warning that descriptor buffers aren't supported at the very least. Otherwise support for descriptor buffers would be nice.
Valid Usage ID
Additional context N/A