Auto-Vk-Toolkit
Auto-Vk-Toolkit copied to clipboard
Possible bug: subpass dependency that would allow writing indirect command arguments
During debugging, RenderDoc issues a warning:
Creating renderpass "Render Pass 129" contains a subpass dependency that would allow writing indirect command arguments. Indirect command contents are read at the end of the render pass, so write-after-read overwrites will cause incorrect display of indirect arguments.
To be investigated:
- [ ] Is that is a real problem or only a side-effect of debugging with RenderDoc?
- [ ] Does it also occur when debugging with NVIDIA Nsight? (Nsight Graphics is recommended)
- [ ] Does it happen with the
model_loader
and/or(?)orca_loader
examples? - [ ] How can it be fixed?
Definition of done:
- [ ] The warning message no longer occurs OR the problem can be identified as a side effect of debugging with RenderDoc.
According to the developer of RenderDoc, this is not a bug, but simply a warning that RenderDoc may not be able to capture indirect draw parameters at the exact point in time they are used. See baldurk's explanation here.