Open aweinstock314 opened 1 year ago
I can't reproduce this. I'm on windows and tried with both an Nvidia dGPU and an Intel iGPU.
That looks like the summary of the captures. For me, the issue shows up within the captures:
I dug in the captures but can't see the issue. Would you be able to reproduce this on windows, another machine and/or GPU?
Description When capturing the first 4 frames of the reproducer in renderdoc , the texture that's a color attachment to
quad_rpass
appears from renderdoc's viewpoint to be cleared to transparent instead of loaded from the previous contents. Additionally, a vulkan validation error is present:Repro steps Reproducer: https://github.com/aweinstock314/wgpu-validation-error-repro
cargo build --release
Expected vs observed behavior The example draws a red quad in the top left, a green quad in the bottom left, a blue quad in the top right, and then a yellow quad in the bottom right, one quad per frame, to a texture whose contents are loaded from the previous frame, and then renders that texture to the surface. The expected behavior is that after the 4th frame, all 4 colored quads are present in the intermediate texture in renderdoc in a manner consistent with the runtime behavior. The actual behavior is that only one colored quad at a time is visible in the intermediate texture in renderdoc.
Platform