mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-21 06:51:35 +00:00
Don't overwrite a known failed depth test with a suspected pass
* We only use the manual depth test to detect failures mid-modification
This commit is contained in:
@@ -3582,7 +3582,8 @@ rdcarray<PixelModification> VulkanReplay::PixelHistory(rdcarray<EventUsage> even
|
||||
else if(flags == DepthTest_GreaterEqual)
|
||||
passed = (shadDepth >= history[h].preMod.depth);
|
||||
|
||||
history[h].depthTestFailed = !passed;
|
||||
if(!passed)
|
||||
history[h].depthTestFailed = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user