[PATCH 4/5] wined3d: Pass a texture and sub-resource index to wined3d_surface_upload_data().