[PATCH 3/5] wined3d: Explicitly calculate the sub-resource layer in wined3d_surface_upload_data().