In Pixel History always shaderOut for depth targets

Including when there is no pixel shader bound
This commit is contained in:
Jake Turner
2024-02-03 07:10:30 +00:00
parent e254e66ae4
commit 893142d7f0
+6 -1
View File
@@ -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);