[d3d11] add stub for ID3DUserDefinedAnnotation (#122)

* [d3d11] D3D11DeviceContext::QueryInterface: log missing GUID

* [d3d11] suppress warnings for ID3DUserDefinedAnnotation and ID3D11Debug
This commit is contained in:
Mikhail Paulyshka 2018-03-05 03:07:09 +03:00 committed by Philip Rebohle
parent 52f6ba1756
commit 6c62d7608e
2 changed files with 7 additions and 0 deletions

View File

@ -66,7 +66,11 @@ namespace dxvk {
COM_QUERY_IFACE(riid, ppvObject, ID3D11DeviceChild);
COM_QUERY_IFACE(riid, ppvObject, ID3D11DeviceContext);
if (riid == __uuidof(ID3DUserDefinedAnnotation))
return E_NOINTERFACE;
Logger::warn("D3D11DeviceContext::QueryInterface: Unknown interface query");
Logger::warn(str::format(riid));
return E_NOINTERFACE;
}

View File

@ -64,6 +64,9 @@ namespace dxvk {
if (riid == __uuidof(IDXGIPresentDevicePrivate))
return m_presentDevice->QueryInterface(riid, ppvObject);
if (riid == __uuidof(ID3D11Debug))
return E_NOINTERFACE;
Logger::warn("D3D11Device::QueryInterface: Unknown interface query");
Logger::warn(str::format(riid));