mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-26 08:26:50 +00:00
Fix copy-paste error checking wrong count for validity. Refs #789
This commit is contained in:
@@ -2011,7 +2011,7 @@ void WrappedID3D11DeviceContext::RecordOutputMergerStats(UINT NumRTVs, ID3D11Ren
|
||||
|
||||
if(NumRTVs != D3D11_KEEP_RENDER_TARGETS_AND_DEPTH_STENCIL)
|
||||
NumSlots += NumRTVs;
|
||||
if(NumRTVs != D3D11_KEEP_UNORDERED_ACCESS_VIEWS)
|
||||
if(NumUAVs != D3D11_KEEP_UNORDERED_ACCESS_VIEWS)
|
||||
NumSlots += NumUAVs;
|
||||
|
||||
RDCASSERT(NumSlots < outputs.bindslots.size());
|
||||
|
||||
Reference in New Issue
Block a user