Skip to content

Commit 390df6d

Browse files
committed
fix limit
1 parent a139beb commit 390df6d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

wgpu-types/src/limits.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,8 @@ impl Limits {
705705
max_blas_geometry_count: (1 << 24) - 1, // 2^24 - 1: Vulkan's minimum
706706
max_tlas_instance_count: (1 << 24) - 1, // 2^24 - 1: Vulkan's minimum
707707
max_blas_primitive_count: 1 << 28, // 2^28: Metal's minimum
708-
max_acceleration_structures_per_shader_stage: 16, // Vulkan's minimum
708+
// On metal acceleration structures are limited because they share buffer slots
709+
max_acceleration_structures_per_shader_stage: 1,
709710
..self
710711
}
711712
}

0 commit comments

Comments
 (0)