mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-01-28 22:04:43 -08:00
Removed wined3d-Improved-RCP_Support patchset
This caused a major regression.
This commit is contained in:
parent
7332164d55
commit
f0f856a7ea
@ -1,28 +0,0 @@
|
||||
From 4ee7b500311daa517d03d197a1adb9a29c8eeb32 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?J=C3=B3zef=20Kucia?= <jkucia@codeweavers.com>
|
||||
Date: Mon, 2 Jul 2018 14:08:49 +1000
|
||||
Subject: [PATCH] wined3d: Improve dirt rendering in SpinTires
|
||||
|
||||
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=36089
|
||||
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45375
|
||||
---
|
||||
dlls/wined3d/glsl_shader.c | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/dlls/wined3d/glsl_shader.c b/dlls/wined3d/glsl_shader.c
|
||||
index 86259ae..b6a858d 100644
|
||||
--- a/dlls/wined3d/glsl_shader.c
|
||||
+++ b/dlls/wined3d/glsl_shader.c
|
||||
@@ -4400,6 +4400,9 @@ static void shader_glsl_scalar_op(const struct wined3d_shader_instruction *ins)
|
||||
|
||||
if (dst_size > 1 && shader_version < WINED3D_SHADER_VERSION(4, 0))
|
||||
shader_addline(buffer, "vec%u(%s%s%s));\n", dst_size, prefix, src0_param.param_str, suffix);
|
||||
+ else if (ins->handler_idx == WINED3DSIH_RCP)
|
||||
+ shader_addline(buffer, "%s == 0.0f ? 0.0f : %s%s%s);\n",
|
||||
+ src0_param.param_str, prefix, src0_param.param_str, suffix);
|
||||
else
|
||||
shader_addline(buffer, "%s%s%s);\n", prefix, src0_param.param_str, suffix);
|
||||
}
|
||||
--
|
||||
1.9.1
|
||||
|
@ -1,5 +0,0 @@
|
||||
# Currently causing regressions.
|
||||
# https://bugs.winehq.org/show_bug.cgi?id=46148
|
||||
Fixes: [36089] Improve dirt rendering in SpinTires
|
||||
Fixes: [45375] Halo online black display problems
|
||||
Disabled: True
|
Loading…
x
Reference in New Issue
Block a user