[Bug 34052] The Witcher: Character models are sometimes invisible
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Feb 27 10:02:43 CST 2015
https://bugs.winehq.org/show_bug.cgi?id=34052
Stefan Dösinger <stefan at codeweavers.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |stefan at codeweavers.com
--- Comment #42 from Stefan Dösinger <stefan at codeweavers.com> ---
Created attachment 50908
--> https://bugs.winehq.org/attachment.cgi?id=50908
wined3d: Reorder shader constants.
Can you give this patch a try? It may fix the bug.
The issue here is that The Witcher reads past the end of the vertex shader
constant array and gets an undefined value back. On paper d3d promises to
return (0.0, 0.0, 0.0, 0.0) in this case, which makes The Witcher happy. In
practise d3d isn't reliable either, but reads > 255 return 0 and reads < 0
return other data.
If you have two GPUs please test this patch with both of them. There's a risk
that this patch fixes Nvidia GPUs and breaks others.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list