Stefan Dösinger : wined3d: Hardcode local constants into the shader if possible.