diff --git a/crates/metal2vulkan-runtime/src/memory.rs b/crates/metal2vulkan-runtime/src/memory.rs index bde6e4b64..6ebe255e0 100644 --- a/crates/metal2vulkan-runtime/src/memory.rs +++ b/crates/metal2vulkan-runtime/src/memory.rs @@ -295,7 +295,7 @@ pub(super) fn fd_buffer_types( } /// What a new block's memory is allocated exportable as ([`BlockMaker::make_as`]). -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy)] enum Exportable { /// Nothing. No, diff --git a/crates/metal2vulkan-runtime/src/texture/in_place_image.rs b/crates/metal2vulkan-runtime/src/texture/in_place_image.rs index a9a8de5f8..9467d59f0 100644 --- a/crates/metal2vulkan-runtime/src/texture/in_place_image.rs +++ b/crates/metal2vulkan-runtime/src/texture/in_place_image.rs @@ -534,9 +534,12 @@ impl Device { PagesClass::Pointer | PagesClass::Fresh => self.host_unplaced(plan, texels, facts), // A texture over the runtime's pooled or exported memory takes its image there // (`Device::alias_image`), never over host pages. - PagesClass::Pooled | PagesClass::ExportedFd | PagesClass::ExportedDmaBuf => Err( - internal("an image in place over the runtime's pooled or exported memory"), - ), + PagesClass::Pooled + | PagesClass::ExportedFd + | PagesClass::ExportedDmaBuf + | PagesClass::FdBlocks => Err(internal( + "an image in place over the runtime's pooled or exported memory", + )), } } diff --git a/crates/metal2vulkan-runtime/src/work_counts.rs b/crates/metal2vulkan-runtime/src/work_counts.rs index 6a3d17830..5300b5390 100644 --- a/crates/metal2vulkan-runtime/src/work_counts.rs +++ b/crates/metal2vulkan-runtime/src/work_counts.rs @@ -3560,7 +3560,7 @@ impl Counters { } // A texture over the runtime's pooled or exported memory is no texture over host // pages: its image at Metal's pitch is counted apart (`pooled_pitched_image`). - P::Pooled | P::ExportedFd | P::ExportedDmaBuf => {} + P::Pooled | P::ExportedFd | P::ExportedDmaBuf | P::FdBlocks => {} } if pitched { self.pitched_host_images.fetch_add(1, Ordering::Relaxed);