From 331bc4e6933cecc7b5ed36c02ba7b3e474e07167 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 69cd78ea8c..cacc38e758 100644 --- a/qrenderdoc/Windows/PixelHistoryView.cpp +++ b/qrenderdoc/Windows/PixelHistoryView.cpp @@ -302,7 +302,12 @@ class PixelHistoryItemModel : public QAbstractItemModel { 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);