cg-tuwien / Auto-Vk-Toolkit

Getting serious about Vulkan development with this modern C++ framework, battle-tested in rapid prototyping, research, and teaching. Includes support for real-time ray tracing (RTX), serialization, and meshlets.
Other
393 stars 30 forks source link

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

Open johannesugb opened 3 years ago

johannesugb commented 3 years ago

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:

Definition of done:

alexc71 commented 3 years ago

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.