Skip to content

Commit

Permalink
In Pixel History always shaderOut for depth targets
Browse files Browse the repository at this point in the history
Including when there is no pixel shader bound
  • Loading branch information
Zorro666 committed Feb 8, 2024
1 parent c72925b commit 331bc4e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion qrenderdoc/Windows/PixelHistoryView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 331bc4e

Please sign in to comment.