http://bugs.winehq.org/show_bug.cgi?id=32040
Bug #: 32040 Summary: The Witcher - Graphical glitches with ARB shader backend Product: Wine Version: 1.5.15 Platform: x86-64 URL: http://www.gog.com/en/gamecard/the_witcher OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: dredgingthelake@gmail.com Classification: Unclassified
Created attachment 42229 --> http://bugs.winehq.org/attachment.cgi?id=42229 The Witcher - Terminal output
The Witcher has graphical glitches when running with the ARB shader backend. It used to work fine in older versions of wine, so I ran a regression test:
7cc4f47afe2dbb112b0a84cb557160872e71c016 is the first bad commit commit 7cc4f47afe2dbb112b0a84cb557160872e71c016 Author: Matteo Bruni mbruni@codeweavers.com Date: Mon Aug 20 22:34:58 2012 +0200
wined3d: Force ARB shader programs reselection on bool/int constant changes.
The ARB shader backend hardcodes some constant-dependent state in the shader itself (e.g. branch taken/not taken). So, we have to make sure to update the selected ARB shader when the application modifies non-float constants.
:040000 040000 2d7d6202bfa34455e324e1f098cbd59f03a0093d 1dc7556802b30bfe2e7fb0918310f03fa8a91d20 M dlls
System info:
NVIDIA GTX275 nvidia-drivers-310.14 wine-1.5.15 (tested current GIT as well)