Fix regression that all D3D11 output targets were considered used

* This would lead to them showing up as 'red' if they are unbound.
This commit is contained in:
baldurk
2025-02-05 16:35:10 +00:00
parent ac27c60b05
commit fb5a6a6133
@@ -1605,7 +1605,7 @@ void D3D11PipelineStateViewer::setState()
rdcarray<Descriptor> outputs = m_Ctx.CurPipelineState().GetOutputTargets();
for(uint32_t i = 0; i < outputs.size(); i++)
{
addResourceRow(D3D11ViewTag(D3D11ViewTag::OMTarget, i, outputs[i]), NULL, true,
addResourceRow(D3D11ViewTag(D3D11ViewTag::OMTarget, i, outputs[i]), NULL, false,
ui->targetOutputs);
if(outputs[i].resource != ResourceId())