mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
Lower blas_max_primitve_count (#8446)
This commit is contained in:
parent
098f320f81
commit
f314b1611a
@ -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).
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user