mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-28 16:45:38 +00:00
Reset resource IDs in views if there is no view bound
This commit is contained in:
@@ -1160,6 +1160,10 @@ void D3D11Replay::SavePipelineState()
|
||||
|
||||
SAFE_RELEASE(res);
|
||||
}
|
||||
else
|
||||
{
|
||||
view.resourceResourceId = ResourceId();
|
||||
}
|
||||
|
||||
ret.outputMerger.uavs[s] = view;
|
||||
}
|
||||
@@ -1222,6 +1226,10 @@ void D3D11Replay::SavePipelineState()
|
||||
|
||||
SAFE_RELEASE(res);
|
||||
}
|
||||
else
|
||||
{
|
||||
view.resourceResourceId = ResourceId();
|
||||
}
|
||||
}
|
||||
|
||||
ret.outputMerger.blendState.sampleMask = rs->OM.SampleMask;
|
||||
|
||||
Reference in New Issue
Block a user