http://bugs.winehq.org/show_bug.cgi?id=10580
--- Comment #15 from Vitaliy Margolen vitaliy@kievinfo.com 2008-05-25 13:35:10 --- Indeed reverting/hacking parts of the patch in question to force use of local constants fixes the problem.
I don't see any obvious problems looking at the generated shaders and comparing it's hard-coded constants with local constants.