Henri Verbeet : wined3d: Only apply shader constants that changed.