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:
baldurk
2020-10-06 18:40:53 +01:00
parent 99811dd604
commit 45f3f5ef76
+2 -1
View File
@@ -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;
}
}
}