From 893142d7f0a9eb490a7d2c8d080a2ae2f8648429 Mon Sep 17 00:00:00 2001 From: Jake Turner Date: Sat, 3 Feb 2024 07:10:30 +0000 Subject: [PATCH] In Pixel History always shaderOut for depth targets Including when there is no pixel shader bound --- qrenderdoc/Windows/PixelHistoryView.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/qrenderdoc/Windows/PixelHistoryView.cpp b/qrenderdoc/Windows/PixelHistoryView.cpp index bbcb52c5e..0cce286d2 100644 --- a/qrenderdoc/Windows/PixelHistoryView.cpp +++ b/qrenderdoc/Windows/PixelHistoryView.cpp @@ -302,7 +302,12 @@ public: { const PixelModification &mod = getMod(index); if(mod.unboundPS) - return tr("No Pixel\nShader\nBound"); + { + if(!m_IsDepth) + return tr("No Pixel\nShader\nBound\n\n"); + else + return tr("No Pixel Shader Bound\n\n") + modString(mod.shaderOut); + } if(mod.directShaderWrite) return tr("Tex Before\n\n") + modString(mod.preMod); return tr("Shader Out\n\n") + modString(mod.shaderOut);