diff --git a/renderdoc/driver/d3d12/d3d12_debug.cpp b/renderdoc/driver/d3d12/d3d12_debug.cpp index 0ee6773ec..939221356 100644 --- a/renderdoc/driver/d3d12/d3d12_debug.cpp +++ b/renderdoc/driver/d3d12/d3d12_debug.cpp @@ -2154,6 +2154,10 @@ void D3D12DebugManager::GetBufferData(ID3D12Resource *buffer, uint64_t offset, u ret.resize((size_t)length); + WrappedID3D12Resource *wrapped = (WrappedID3D12Resource *)buffer; + if(wrapped->IsAccelerationStructureResource()) + return; + // directly CPU mappable (and possibly invalid to transition and copy from), so just memcpy if(heapProps.Type == D3D12_HEAP_TYPE_UPLOAD || heapProps.Type == D3D12_HEAP_TYPE_READBACK) {