mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-12 13:08:50 +01:00
[d3d11] Only log QueryInterface errors once
This commit is contained in:
parent
aa92cf48f5
commit
cc78276897
@ -58,8 +58,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11BlendState::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(ID3D11BlendState), riid)) {
|
||||
Logger::warn("D3D11BlendState::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
|
@ -138,8 +138,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11Buffer::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(ID3D11Buffer), riid)) {
|
||||
Logger::warn("D3D11Buffer::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
|
@ -28,8 +28,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11ClassLinkage::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(ID3D11ClassLinkage), riid)) {
|
||||
Logger::warn("D3D11ClassLinkage::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
|
@ -30,8 +30,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11CommandList::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(ID3D11CommandList), riid)) {
|
||||
Logger::warn("D3D11CommandList::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
|
@ -61,8 +61,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11DeviceContext::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(ID3D11DeviceContext), riid)) {
|
||||
Logger::warn("D3D11DeviceContext::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
|
@ -41,8 +41,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11DepthStencilState::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(ID3D11DepthStencilState), riid)) {
|
||||
Logger::warn("D3D11DepthStencilState::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
|
@ -3153,8 +3153,11 @@ namespace dxvk {
|
||||
if (riid == GUID{0xd56e2a4c,0x5127,0x8437,{0x65,0x8a,0x98,0xc5,0xbb,0x78,0x94,0x98}})
|
||||
return E_NOINTERFACE;
|
||||
|
||||
Logger::warn("D3D11DXGIDevice::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(IDXGIDXVKDevice), riid)) {
|
||||
Logger::warn("D3D11DXGIDevice::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
|
@ -48,8 +48,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11Fence: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(ID3D11Fence), riid)) {
|
||||
Logger::warn("D3D11Fence: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
|
@ -46,8 +46,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11InputLayout::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(ID3D11InputLayout), riid)) {
|
||||
Logger::warn("D3D11InputLayout::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
|
@ -120,8 +120,11 @@ namespace dxvk {
|
||||
}
|
||||
}
|
||||
|
||||
Logger::warn("D3D11Query: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(ID3D11Query), riid)) {
|
||||
Logger::warn("D3D11Query: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
|
@ -74,8 +74,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11RasterizerState::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(ID3D11RasterizerState), riid)) {
|
||||
Logger::warn("D3D11RasterizerState::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
|
@ -86,8 +86,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11SamplerState::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(ID3D11SamplerState), riid)) {
|
||||
Logger::warn("D3D11SamplerState::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
|
@ -134,8 +134,10 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11Shader::QueryInterface: Unknown interface query");
|
||||
return E_NOINTERFACE;
|
||||
if (logQueryInterfaceError(__uuidof(D3D11Interface), riid)) {
|
||||
Logger::warn("D3D11Shader::QueryInterface: Unknown interface query");
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
}
|
||||
|
||||
const D3D11CommonShader* GetCommonShader() const {
|
||||
|
@ -29,8 +29,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11DeviceContextState::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(ID3DDeviceContextState), riid)) {
|
||||
Logger::warn("D3D11DeviceContextState::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
|
@ -103,7 +103,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11SwapChain::QueryInterface: Unknown interface query");
|
||||
if (logQueryInterfaceError(__uuidof(IDXGIVkSwapChain), riid)) {
|
||||
Logger::warn("D3D11SwapChain::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
|
@ -1086,8 +1086,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11Texture1D::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(ID3D10Texture1D), riid)) {
|
||||
Logger::warn("D3D11Texture1D::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
@ -1243,8 +1246,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11Texture2D::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(ID3D10Texture2D), riid)) {
|
||||
Logger::warn("D3D11Texture2D::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
@ -1350,8 +1356,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11Texture3D::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(ID3D10Texture3D), riid)) {
|
||||
Logger::warn("D3D11Texture3D::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
|
@ -32,8 +32,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11VideoProcessorEnumerator::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(ID3D11VideoProcessorEnumerator), riid)) {
|
||||
Logger::warn("D3D11VideoProcessorEnumerator::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
@ -136,8 +139,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11VideoProcessor::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(ID3D11VideoProcessor), riid)) {
|
||||
Logger::warn("D3D11VideoProcessor::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
@ -247,8 +253,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11VideoProcessorInputView::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(ID3D11VideoProcessorInputView), riid)) {
|
||||
Logger::warn("D3D11VideoProcessorInputView::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
@ -326,8 +335,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11VideoProcessorOutputView::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(ID3D11VideoProcessorOutputView), riid)) {
|
||||
Logger::warn("D3D11VideoProcessorOutputView::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
|
@ -130,8 +130,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11DepthStencilView::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(ID3D11DepthStencilView), riid)) {
|
||||
Logger::warn("D3D11DepthStencilView::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
|
@ -141,8 +141,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11RenderTargetView::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(ID3D11RenderTargetView), riid)) {
|
||||
Logger::warn("D3D11RenderTargetView::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
|
@ -209,8 +209,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11ShaderResourceView::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(ID3D11ShaderResourceView), riid)) {
|
||||
Logger::warn("D3D11ShaderResourceView::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
|
@ -147,8 +147,11 @@ namespace dxvk {
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Logger::warn("D3D11UnorderedAccessView::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
if (logQueryInterfaceError(__uuidof(ID3D11UnorderedAccessView), riid)) {
|
||||
Logger::warn("D3D11UnorderedAccessView::QueryInterface: Unknown interface query");
|
||||
Logger::warn(str::format(riid));
|
||||
}
|
||||
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user