Stefan Dösinger : wined3d: Hardcode local constants in ARB shaders if possible.