wined3d: Invalidate pixel shader only when rasterization is toggled.