Apply descriptor offset from table binding

This commit is contained in:
baldurk
2016-09-22 17:51:40 +02:00
parent acb5e5ecd8
commit f883ea0648
+2
View File
@@ -702,6 +702,8 @@ void D3D12Replay::MakePipelineState()
D3D12Descriptor *desc = (D3D12Descriptor *)heap->GetCPUDescriptorHandleForHeapStart().ptr;
desc += e.offset;
UINT offset = range.OffsetInDescriptorsFromTableStart;
if(range.OffsetInDescriptorsFromTableStart == D3D12_DESCRIPTOR_RANGE_OFFSET_APPEND)