diff --git a/CHANGELOG.md b/CHANGELOG.md index 0dda0fbc3..93c17059d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -81,6 +81,7 @@ SamplerDescriptor { #### General +- Lower `max_blas_primitive_count` due to a bug in llvmpipe. By @Vecvec in [#8446](https://github.com/gfx-rs/wgpu/pull/8446). - Texture now has `from_custom`. By @R-Cramer4 in [#8315](https://github.com/gfx-rs/wgpu/pull/8315). - Using both the wgpu command encoding APIs and `CommandEncoder::as_hal_mut` on the same encoder will now result in a panic. - Allow `include_spirv!` and `include_spirv_raw!` macros to be used in constants and statics. By @clarfonthey in [#8250](https://github.com/gfx-rs/wgpu/pull/8250). diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index 34216d387..9ea2a5d22 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -1018,7 +1018,7 @@ impl Limits { Self { max_blas_geometry_count: (1 << 24) - 1, // 2^24 - 1: Vulkan's minimum max_tlas_instance_count: (1 << 24) - 1, // 2^24 - 1: Vulkan's minimum - max_blas_primitive_count: 1 << 28, // 2^28: Metal's minimum + max_blas_primitive_count: (1 << 24) - 1, // Should be 2^28: Metal's minimum, but due to an llvmpipe bug it is 2^24 - 1 max_acceleration_structures_per_shader_stage: 16, // Vulkan's minimum ..self }