Query and store ID3D12Device15

This commit is contained in:
baldurk committed 2026-07-17 16:14:29 +01:00
1 parent 65694c13a9
commit b9a68b51f5
2 files changed
+4

No files matched your search

+3
View File
@@ -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);
+1
View File
@@ -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;