KhronosGroup / KhronosGroup/Vulkan-ValidationLayers
False positive when using descriptor buffers: UNASSIGNED-Descriptor index out of bounds
@spencer-lunarg is already working on this.
Since Jul 24, 2024.
- Dominant language
- C++
- Stars
- 1k
- Forks
- 505
- Avg merge
- 11h 25m
- Merged PRs (30d)
- 229
Description
Although the layer explicitly warns that no validation will be performed when using descriptor buffers, GPU assisted validation still results in errors for basic storage buffers in descriptors:
Validation Error: [ UNASSIGNED-Descriptor index out of bounds ] Object 0: handle = 0x55d6a51bf2e0, type = VK_OBJECT_TYPE_QUEUE; Object 1: handle = 0x55d6a52b6e80, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0x68698324 | vkCmdDispatch(): (set = 0, binding = 0) Index of 0 used to index descriptor array of length 0.
The code to replicate this can be found here: https://github.com/cyanreg/ldpc_matrix_opt/commit/d0693c6b590866c654b77008d2cbce8e1110589d
Just run ./build/src/lmo after compiling (requires my fork of ffmpeg to build).
Silencing the issue would be a fix, though proper support for descriptor buffers would be most optimal.
Are there any plans to add support?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.