Skip to content

Commit babd694

Browse files
cwfitzgeraldteoxoy
authored andcommitted
Revert "Lower blas_max_primitve_count (#8446)"
This reverts commit f314b16.
1 parent 72f376f commit babd694

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ By @cwfitzgerald in [#8579](https://github.com/gfx-rs/wgpu/pull/8579).
131131
#### General
132132

133133
- Require new enable extensions when using ray queries and position fetch (`wgpu_ray_query`, `wgpu_ray_query_vertex_return`). By @Vecvec in [#8545](https://github.com/gfx-rs/wgpu/pull/8545).
134-
- Lower `max_blas_primitive_count` due to a bug in llvmpipe. By @Vecvec in [#8446](https://github.com/gfx-rs/wgpu/pull/8446).
135134
- Texture now has `from_custom`. By @R-Cramer4 in [#8315](https://github.com/gfx-rs/wgpu/pull/8315).
136135
- Using both the wgpu command encoding APIs and `CommandEncoder::as_hal_mut` on the same encoder will now result in a panic.
137136
- 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).

wgpu-types/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,7 @@ impl Limits {
10941094
Self {
10951095
max_blas_geometry_count: (1 << 24) - 1, // 2^24 - 1: Vulkan's minimum
10961096
max_tlas_instance_count: (1 << 24) - 1, // 2^24 - 1: Vulkan's minimum
1097-
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
1097+
max_blas_primitive_count: 1 << 28, // 2^28: Metal's minimum
10981098
max_acceleration_structures_per_shader_stage: 16, // Vulkan's minimum
10991099
..self
11001100
}

0 commit comments

Comments
 (0)