mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
Fix discards of buffer views on D3D11
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user