mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 07:56:33 +00:00
Don't apply descriptor offset to byte offset fetching cbuffer from table
This commit is contained in:
@@ -1680,8 +1680,7 @@ void GatherConstantBuffers(WrappedID3D12Device *pDevice, const DXBCBytecode::Pro
|
||||
pDevice->GetResourceManager()->GetCurrentAs<ID3D12Resource>(resId);
|
||||
cbufData.clear();
|
||||
|
||||
pDevice->GetDebugManager()->GetBufferData(pCbvResource, element.offset + byteOffset, 0,
|
||||
cbufData);
|
||||
pDevice->GetDebugManager()->GetBufferData(pCbvResource, byteOffset, 0, cbufData);
|
||||
AddCBufferToGlobalState(program, global, sourceVars, refl, mapping, slot, cbufData);
|
||||
|
||||
desc++;
|
||||
|
||||
Reference in New Issue
Block a user