Auto-Vk-Toolkit icon indicating copy to clipboard operation
Auto-Vk-Toolkit copied to clipboard

Possible bug: subpass dependency that would allow writing indirect command arguments

Open johannesugb opened this issue 4 years ago • 1 comments

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.

johannesugb avatar Oct 05 '20 10:10 johannesugb

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.

alexc71 avatar Nov 05 '20 12:11 alexc71