mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-09-13 09:17:20 -07:00
Added patches to silence two noisy d3d11 FIXMEs.
This commit is contained in:
parent
7e80ff15e2
commit
f957d2a812
@ -0,0 +1,25 @@
|
||||
From d359c245dd87648c1f2002c2a865271c4c9aff8f Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Sun, 28 May 2017 05:45:01 +0200
|
||||
Subject: d3d11: Silence ID3D11Device_GetDeviceRemovedReason.
|
||||
|
||||
---
|
||||
dlls/d3d11/device.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/d3d11/device.c b/dlls/d3d11/device.c
|
||||
index bc28b4a5446..c78a4a755d8 100644
|
||||
--- a/dlls/d3d11/device.c
|
||||
+++ b/dlls/d3d11/device.c
|
||||
@@ -5749,7 +5749,7 @@ static UINT STDMETHODCALLTYPE d3d11_device_GetCreationFlags(ID3D11Device *iface)
|
||||
|
||||
static HRESULT STDMETHODCALLTYPE d3d11_device_GetDeviceRemovedReason(ID3D11Device *iface)
|
||||
{
|
||||
- FIXME("iface %p stub!\n", iface);
|
||||
+ TRACE("iface %p stub!\n", iface);
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
--
|
||||
2.12.2
|
||||
|
@ -0,0 +1,25 @@
|
||||
From 67bf62879edea7ee4d6c6f7218c8fa6b92c66163 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Sun, 28 May 2017 05:45:31 +0200
|
||||
Subject: d3d11: Silence depth bias warning in ID3D11DeviceContext_RSSetState.
|
||||
|
||||
---
|
||||
dlls/d3d11/device.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/d3d11/device.c b/dlls/d3d11/device.c
|
||||
index c78a4a755d8..14a0b98a32d 100644
|
||||
--- a/dlls/d3d11/device.c
|
||||
+++ b/dlls/d3d11/device.c
|
||||
@@ -1724,7 +1724,7 @@ static void STDMETHODCALLTYPE d3d11_immediate_context_RSSetState(ID3D11DeviceCon
|
||||
wined3d_device_set_render_state(device->wined3d_device, WINED3D_RS_CULLMODE, desc->CullMode);
|
||||
/* OpenGL style depth bias. */
|
||||
if (desc->DepthBias || desc->SlopeScaledDepthBias)
|
||||
- FIXME("Ignoring depth bias.\n");
|
||||
+ WARN("Ignoring depth bias.\n");
|
||||
/* GL_DEPTH_CLAMP */
|
||||
if (!desc->DepthClipEnable)
|
||||
FIXME("Ignoring DepthClipEnable %#x.\n", desc->DepthClipEnable);
|
||||
--
|
||||
2.12.2
|
||||
|
@ -113,6 +113,7 @@ patch_enable_all ()
|
||||
enable_d3d11_Deferred_Context="$1"
|
||||
enable_d3d11_ID3D11Texture1D="$1"
|
||||
enable_d3d11_ResolveSubresource="$1"
|
||||
enable_d3d11_Silence_FIXMEs="$1"
|
||||
enable_d3d8_ValidateShader="$1"
|
||||
enable_d3d9_DesktopWindow="$1"
|
||||
enable_d3d9_Tests="$1"
|
||||
@ -577,6 +578,9 @@ patch_enable ()
|
||||
d3d11-ResolveSubresource)
|
||||
enable_d3d11_ResolveSubresource="$2"
|
||||
;;
|
||||
d3d11-Silence_FIXMEs)
|
||||
enable_d3d11_Silence_FIXMEs="$2"
|
||||
;;
|
||||
d3d8-ValidateShader)
|
||||
enable_d3d8_ValidateShader="$2"
|
||||
;;
|
||||
@ -3526,6 +3530,20 @@ if test "$enable_d3d11_ResolveSubresource" -eq 1; then
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset d3d11-Silence_FIXMEs
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * dlls/d3d11/device.c
|
||||
# |
|
||||
if test "$enable_d3d11_Silence_FIXMEs" -eq 1; then
|
||||
patch_apply d3d11-Silence_FIXMEs/0001-d3d11-Silence-ID3D11Device_GetDeviceRemovedReason.patch
|
||||
patch_apply d3d11-Silence_FIXMEs/0002-d3d11-Silence-depth-bias-warning-in-ID3D11DeviceCont.patch
|
||||
(
|
||||
printf '%s\n' '+ { "Michael Müller", "d3d11: Silence ID3D11Device_GetDeviceRemovedReason.", 1 },';
|
||||
printf '%s\n' '+ { "Michael Müller", "d3d11: Silence depth bias warning in ID3D11DeviceContext_RSSetState.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset d3d8-ValidateShader
|
||||
# |
|
||||
# | This patchset fixes the following Wine bugs:
|
||||
|
Loading…
Reference in New Issue
Block a user