KhronosGroup / KhronosGroup/Vulkan-ValidationLayers
No error is emitted when trying to use `vkCmdCopyBufferToImage` to write to an unbound sparse image
- Dominant language
- C++
- Stars
- 1k
- Forks
- 504
- Avg merge
- 11h 35m
- Merged PRs (30d)
- 224
Description
**Environment:**
- OS: Windows 11
- GPU and driver version: Intel Iris Xe Graphics, version 31.0.101.5186
- SDK or header version if building from repo: v1.4.307
- Options enabled (synchronization, best practices, etc.): Core + Synchronization default settings
**Describe the Issue**
If you create an image with `VK_IMAGE_CREATE_SPARSE_BINDING_BIT` enabled and then write to it with `vkCmdCopyBufferToImage` before binding it with `vkQueueBindSparse`, no error is reported by the layer despite the destination of the write operation appearing to be undefined.
**Expected behavior**
I would expect an error message alerting me that I have tried to write into an unbound image.
**Valid Usage ID**
Unfortunately, it looks like there are no VUs that cover this case.
Contributor guide
Assessment
This issue has not been assessed yet.