[PATCH 2/3] Add format change before upload for non-volume textures