http://bugs.winehq.org/show_bug.cgi?id=14762
--- Comment #67 from Tobias Jakobi liquid.acid@gmx.net 2009-04-09 15:47:00 --- Created an attachment (id=20353) --> (http://bugs.winehq.org/attachment.cgi?id=20353) [wined3d] ARB np2fixup patchset (beta 2)
This is beta2 of the np2fixup patchset for ARB mode.
It still doesn't work with HL2 though. The implementation should be pretty much correct, but np2 constant reloading in ARB doesn't seem to work the way I want.
For example the correct values are loaded into the env PARAMs, but they don't seems to reach the shader. Something probably does overwrite them before the shader code is executed. Don't know why though. Or what could overwrite them.
This could possibly be solved by switching to local PARAMs, but this has to wait. stefand doesn't want to have this code merged with the current state of the ARB codebase.
Again, the code should pretty much work - but if you want it to work properly you have to figure out why the env params get overwritten before the shader can use it.