http://bugs.winehq.org/show_bug.cgi?id=37068
--- Comment #1 from Stefan Dösinger stefan@codeweavers.com --- Can you try with an older Nvidia driver? The 340 driver introduced another bug in INF handling, presumably because of another math optimization that breaks when INFs are involved. This regression is spotted by the fogstart == fogend tests in dlls/d3d9/tests/visual.c, fog_test().
Having an actual game that is broken makes it easier for me when I talk to Nvidia than just telling them that they broke our regression tests.
And yeah, I realize that a change to Wine triggered this problem on your system. I still believe the Wine change is correct, but it may trigger a different codepath in Nvidia's GLSL optimizer.
Was ARB always broken? The change is GLSL only, so I'd expect ARB shaders to be broken prior to ba61730d.