Fix discards of buffer views on D3D11

This commit is contained in:
baldurk
2021-03-02 17:14:00 +00:00
parent 438d823c32
commit 80ff02f7c9
+4
View File
@@ -820,6 +820,10 @@ void D3D11DebugManager::FillWithDiscardPattern(DiscardType type, ID3D11View *vie
numMips = desc.MipLevels;
tex3D = true;
}
else if(WrappedID3D11Buffer::IsAlloc(res))
{
// nothing to do, just pass
}
else
{
RDCERR("View of unknown resource type being discarded");