Track renderstate as we go, and allow replaying single draws with it

This commit is contained in:
baldurk
2016-08-06 18:31:22 +02:00
parent 609126a909
commit 407bca01e8
15 changed files with 538 additions and 79 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ WrappedID3D12DescriptorHeap::WrappedID3D12DescriptorHeap(ID3D12DescriptorHeap *r
realCPUBase = real->GetCPUDescriptorHandleForHeapStart();
realGPUBase = real->GetGPUDescriptorHandleForHeapStart();
increment = device->GetDescriptorIncrement(desc.Type);
increment = device->GetUnwrappedDescriptorIncrement(desc.Type);
descriptors = new D3D12Descriptor[desc.NumDescriptors];