[PATCH 7/8] wined3d: Reduce layout switches in texture data uploads.