From 1bcbfaa6f2a71d619ffc30250cfeaac0a631831f Mon Sep 17 00:00:00 2001 From: JMS55 <47158642+JMS55@users.noreply.github.com> Date: Fri, 25 Aug 2023 17:18:51 -0700 Subject: [PATCH] Fix metal backend --- wgpu-hal/src/metal/command.rs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/wgpu-hal/src/metal/command.rs b/wgpu-hal/src/metal/command.rs index 26e7809b47..153373b238 100644 --- a/wgpu-hal/src/metal/command.rs +++ b/wgpu-hal/src/metal/command.rs @@ -1054,10 +1054,14 @@ impl crate::CommandEncoder for super::CommandEncoder { encoder.dispatch_thread_groups_indirect(&buffer.raw, offset, self.state.raw_wg_size); } - unsafe fn build_acceleration_structure( + unsafe fn build_acceleration_structures<'a, T>( &mut self, - _desc: &crate::BuildAccelerationStructureDescriptor, - ) { + _descriptor_count: u32, + _descriptors: T, + ) where + super::Api: 'a, + T: IntoIterator>, + { unimplemented!() }