[PATCH 3/6] wined3d: Avoid some invalidation when the viewport is set redundantly.