Hello, I have a situation where rarely the result of an entire render pass will flicker. I have multiple passes in my frame and the results are stored and then loaded in subsequent passes. I've double and triple checked the synchronization, and there are no errors in the regular validation layer nor in the sync validator.
The only clue I have is that in Renderdoc, I notice that the passes that occasionally flicker are listed as Colour Pass (1 Targets) without Depth. Bizarrely, the framebuffers that are used in these passes have a depth target, and the result is written to in the frame. I can't find any difference between the framebuffers in these passes and the subsequent ones that are listed as (1 Targets + Depth) later on. The flickering could maybe be explained by the depth buffer acting up, but in Renderdoc I can see that it is being used. I'm at my wits end with this so any help is massively appreciated.