Skip to content

Commit 1515e90

Browse files
committed
Implements Device::get_acceleration_structure_device_address().
1 parent 934a03f commit 1515e90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wgpu-hal/src/metal/device.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1606,9 +1606,9 @@ impl crate::Device for super::Device {
16061606

16071607
unsafe fn get_acceleration_structure_device_address(
16081608
&self,
1609-
_acceleration_structure: &super::AccelerationStructure,
1609+
acceleration_structure: &super::AccelerationStructure,
16101610
) -> wgt::BufferAddress {
1611-
unimplemented!()
1611+
acceleration_structure.raw.gpu_resource_id()._impl
16121612
}
16131613

16141614
unsafe fn create_acceleration_structure(

0 commit comments

Comments
 (0)