From 79465c670f1ab30cd98cb3bc911d3efadfc5f99e Mon Sep 17 00:00:00 2001 From: Jake Turner Date: Sun, 31 Dec 2023 07:36:10 +0000 Subject: [PATCH] D3D12 Pixel History set fragment postMod stencil to unknown (-2) --- renderdoc/driver/d3d12/d3d12_pixelhistory.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/renderdoc/driver/d3d12/d3d12_pixelhistory.cpp b/renderdoc/driver/d3d12/d3d12_pixelhistory.cpp index 59025621c..448b58677 100644 --- a/renderdoc/driver/d3d12/d3d12_pixelhistory.cpp +++ b/renderdoc/driver/d3d12/d3d12_pixelhistory.cpp @@ -2986,6 +2986,7 @@ rdcarray D3D12Replay::PixelHistory(rdcarray event else history[h].postMod.depth = GetDepthValue(DXGI_FORMAT_D32_FLOAT_S8X24_UINT, fragInfo[offset].postMod); + history[h].postMod.stencil = -2; } // If it is not the first fragment for the event, set the preMod to the // postMod of the previous fragment.