texture-cache: re-add load_from_raw