diff --git a/renderdoc/driver/d3d12/d3d12_device_wrap.cpp b/renderdoc/driver/d3d12/d3d12_device_wrap.cpp index 024ed418c..9b1684697 100644 --- a/renderdoc/driver/d3d12/d3d12_device_wrap.cpp +++ b/renderdoc/driver/d3d12/d3d12_device_wrap.cpp @@ -152,7 +152,7 @@ HRESULT WrappedID3D12Device::CreateCommandQueue(const D3D12_COMMAND_QUEUE_DESC * if(ppCommandQueue == NULL) return m_pDevice->CreateCommandQueue(pDesc, riid, NULL); - if(riid != __uuidof(ID3D12CommandQueue)) + if(riid != __uuidof(ID3D12CommandQueue) && riid != __uuidof(ID3D12CommandQueue1)) return E_NOINTERFACE; ID3D12CommandQueue *real = NULL; diff --git a/renderdoc/driver/d3d12/d3d12_device_wrap9.cpp b/renderdoc/driver/d3d12/d3d12_device_wrap9.cpp index 9d38c5ee2..faf042e37 100644 --- a/renderdoc/driver/d3d12/d3d12_device_wrap9.cpp +++ b/renderdoc/driver/d3d12/d3d12_device_wrap9.cpp @@ -135,7 +135,7 @@ HRESULT WrappedID3D12Device::CreateCommandQueue1(const D3D12_COMMAND_QUEUE_DESC if(ppCommandQueue == NULL) return m_pDevice9->CreateCommandQueue1(pDesc, CreatorID, riid, NULL); - if(riid != __uuidof(ID3D12CommandQueue)) + if(riid != __uuidof(ID3D12CommandQueue) && riid != __uuidof(ID3D12CommandQueue1)) return E_NOINTERFACE; ID3D12CommandQueue *real = NULL;