mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 09:30:44 +00:00
Ignore NumRTVs = 0xfffffff (D3D11_KEEP_RENDER_TARGETS_AND_DEPTH_STENCIL)
This commit is contained in:
@@ -1705,6 +1705,8 @@ void WrappedID3D11DeviceContext::RecordOutputMergerStats(UINT NumRTVs, ID3D11Ren
|
||||
}
|
||||
|
||||
UINT NumSlots = NumRTVs + NumUAVs;
|
||||
if(NumRTVs == D3D11_KEEP_RENDER_TARGETS_AND_DEPTH_STENCIL)
|
||||
NumSlots = NumUAVs;
|
||||
RDCASSERT(NumSlots < outputs.bindslots.size());
|
||||
outputs.bindslots[NumSlots] += 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user