diff --git a/renderdoc/driver/d3d12/d3d12_device.cpp b/renderdoc/driver/d3d12/d3d12_device.cpp index 74b5179b4..6b79b25d7 100644 --- a/renderdoc/driver/d3d12/d3d12_device.cpp +++ b/renderdoc/driver/d3d12/d3d12_device.cpp @@ -625,6 +625,7 @@ WrappedID3D12Device::WrappedID3D12Device(ID3D12Device *realDevice, D3D12InitPara m_pDevice12 = NULL; m_pDevice13 = NULL; m_pDevice14 = NULL; + m_pDevice15 = NULL; m_pDownlevel = NULL; if(m_pDevice) { @@ -642,6 +643,7 @@ WrappedID3D12Device::WrappedID3D12Device(ID3D12Device *realDevice, D3D12InitPara m_pDevice->QueryInterface(__uuidof(ID3D12Device12), (void **)&m_pDevice12); m_pDevice->QueryInterface(__uuidof(ID3D12Device13), (void **)&m_pDevice13); m_pDevice->QueryInterface(__uuidof(ID3D12Device14), (void **)&m_pDevice14); + m_pDevice->QueryInterface(__uuidof(ID3D12Device15), (void **)&m_pDevice15); m_pDevice->QueryInterface(__uuidof(ID3D12DeviceRemovedExtendedData), (void **)&m_DRED.m_pReal); m_pDevice->QueryInterface(__uuidof(ID3D12DeviceRemovedExtendedData1), (void **)&m_DRED.m_pReal1); m_pDevice->QueryInterface(__uuidof(ID3D12DeviceRemovedExtendedDataSettings), @@ -1013,6 +1015,7 @@ WrappedID3D12Device::~WrappedID3D12Device() SAFE_RELEASE(m_pDownlevel); SAFE_RELEASE(m_pDeviceTools); SAFE_RELEASE(m_pDeviceTools1); + SAFE_RELEASE(m_pDevice15); SAFE_RELEASE(m_pDevice14); SAFE_RELEASE(m_pDevice13); SAFE_RELEASE(m_pDevice12); diff --git a/renderdoc/driver/d3d12/d3d12_device.h b/renderdoc/driver/d3d12/d3d12_device.h index e66ae72b0..b6ee96d6e 100644 --- a/renderdoc/driver/d3d12/d3d12_device.h +++ b/renderdoc/driver/d3d12/d3d12_device.h @@ -625,6 +625,7 @@ private: ID3D12Device12 *m_pDevice12; ID3D12Device13 *m_pDevice13; ID3D12Device14 *m_pDevice14; + ID3D12Device15 *m_pDevice15; ID3D12DeviceTools *m_pDeviceTools = NULL; ID3D12DeviceTools1 *m_pDeviceTools1 = NULL; ID3D12DeviceDownlevel *m_pDownlevel;