False positive when using descriptor buffers: UNASSIGNED-Descriptor index out of bounds
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?
@cyanreg what version of Validation Layers were you using? ToT or an SDK build?
git master from 5 days ago (69d78b7b4404f76be557df4b14cda6f97f672c2c).
@cyanreg thanks, wanted to make sure it wasn't an old SDK version... currently backed up by things I need to do, but will try to find time to take a look into this, thanks again for reporting this and giving a example to help reproduce it.
Ping.
sorry, we have since disabled GPU-AV for Descriptor Buffers. We need to completely re-work how we track things and just not something I feel I will get to in the near future