We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a139beb commit 390df6dCopy full SHA for 390df6d
1 file changed
wgpu-types/src/limits.rs
@@ -705,7 +705,8 @@ impl Limits {
705
max_blas_geometry_count: (1 << 24) - 1, // 2^24 - 1: Vulkan's minimum
706
max_tlas_instance_count: (1 << 24) - 1, // 2^24 - 1: Vulkan's minimum
707
max_blas_primitive_count: 1 << 28, // 2^28: Metal's minimum
708
- max_acceleration_structures_per_shader_stage: 16, // Vulkan's minimum
+ // On metal acceleration structures are limited because they share buffer slots
709
+ max_acceleration_structures_per_shader_stage: 1,
710
..self
711
}
712
0 commit comments