mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-04 16:24:29 +01:00
[d3d11] Fix log spam in SetEvictionPriority stubs
This commit is contained in:
parent
bee21e7539
commit
c804d99db7
@ -142,12 +142,14 @@ namespace dxvk {
|
||||
|
||||
|
||||
UINT STDMETHODCALLTYPE D3D11Buffer::GetEvictionPriority() {
|
||||
Logger::warn("D3D11Buffer::GetEvictionPriority: Stub");
|
||||
return DXGI_RESOURCE_PRIORITY_NORMAL;
|
||||
}
|
||||
|
||||
|
||||
void STDMETHODCALLTYPE D3D11Buffer::SetEvictionPriority(UINT EvictionPriority) {
|
||||
static bool s_errorShown = false;
|
||||
|
||||
if (!std::exchange(s_errorShown, true))
|
||||
Logger::warn("D3D11Buffer::SetEvictionPriority: Stub");
|
||||
}
|
||||
|
||||
|
@ -598,12 +598,14 @@ namespace dxvk {
|
||||
|
||||
|
||||
UINT STDMETHODCALLTYPE D3D11Texture1D::GetEvictionPriority() {
|
||||
Logger::warn("D3D11Texture1D::GetEvictionPriority: Stub");
|
||||
return DXGI_RESOURCE_PRIORITY_NORMAL;
|
||||
}
|
||||
|
||||
|
||||
void STDMETHODCALLTYPE D3D11Texture1D::SetEvictionPriority(UINT EvictionPriority) {
|
||||
static bool s_errorShown = false;
|
||||
|
||||
if (!std::exchange(s_errorShown, true))
|
||||
Logger::warn("D3D11Texture1D::SetEvictionPriority: Stub");
|
||||
}
|
||||
|
||||
@ -677,12 +679,14 @@ namespace dxvk {
|
||||
|
||||
|
||||
UINT STDMETHODCALLTYPE D3D11Texture2D::GetEvictionPriority() {
|
||||
Logger::warn("D3D11Texture2D::GetEvictionPriority: Stub");
|
||||
return DXGI_RESOURCE_PRIORITY_NORMAL;
|
||||
}
|
||||
|
||||
|
||||
void STDMETHODCALLTYPE D3D11Texture2D::SetEvictionPriority(UINT EvictionPriority) {
|
||||
static bool s_errorShown = false;
|
||||
|
||||
if (!std::exchange(s_errorShown, true))
|
||||
Logger::warn("D3D11Texture2D::SetEvictionPriority: Stub");
|
||||
}
|
||||
|
||||
@ -758,12 +762,14 @@ namespace dxvk {
|
||||
|
||||
|
||||
UINT STDMETHODCALLTYPE D3D11Texture3D::GetEvictionPriority() {
|
||||
Logger::warn("D3D11Texture3D::GetEvictionPriority: Stub");
|
||||
return DXGI_RESOURCE_PRIORITY_NORMAL;
|
||||
}
|
||||
|
||||
|
||||
void STDMETHODCALLTYPE D3D11Texture3D::SetEvictionPriority(UINT EvictionPriority) {
|
||||
static bool s_errorShown = false;
|
||||
|
||||
if (!std::exchange(s_errorShown, true))
|
||||
Logger::warn("D3D11Texture3D::SetEvictionPriority: Stub");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user