diff --git a/luisa_compute/src/resource.rs b/luisa_compute/src/resource.rs index 4430773..9c5bb40 100644 --- a/luisa_compute/src/resource.rs +++ b/luisa_compute/src/resource.rs @@ -1100,7 +1100,7 @@ impl Clone for Tex2d { (0..mips).map(|level| self.view(level).copy_to_texture_async(copy.view(level))), ); }); - todo!() + copy } } @@ -1144,7 +1144,7 @@ impl Clone for Tex3d { (0..mips).map(|level| self.view(level).copy_to_texture_async(copy.view(level))), ); }); - todo!() + copy } } impl fmt::Debug for Tex3d {