fix: lower QUERY_SET_MAX_QUERYS 8192 → 4096 (#6525)

This commit is contained in:
Erich Gubler authored and GitHub committed 2024-11-12 14:38:19 +00:00
1 parent e8a8281203
commit 4311091cce
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -133,6 +133,7 @@ By @ErichDonGubler in [#6456](https://github.com/gfx-rs/wgpu/pull/6456), [#6148]
- Ensure that `Features::TIMESTAMP_QUERY` is set when using timestamp writes in render and compute passes. By @ErichDonGubler in [#6497](https://github.com/gfx-rs/wgpu/pull/6497).
- Check for device mismatches when beginning render and compute passes. By @ErichDonGubler in [#6497](https://github.com/gfx-rs/wgpu/pull/6497).
- Lower `QUERY_SET_MAX_QUERIES` (and enforced limits) from 8192 to 4096 to match WebGPU spec. By @ErichDonGubler in [#6525](https://github.com/gfx-rs/wgpu/pull/6525).
## 23.0.0 (2024-10-25)
+1 -1
View File
@@ -91,7 +91,7 @@ pub const VERTEX_STRIDE_ALIGNMENT: BufferAddress = 4;
/// Alignment all push constants need
pub const PUSH_CONSTANT_ALIGNMENT: u32 = 4;
/// Maximum queries in a query set
pub const QUERY_SET_MAX_QUERIES: u32 = 8192;
pub const QUERY_SET_MAX_QUERIES: u32 = 4096;
/// Size of a single piece of query data.
pub const QUERY_SIZE: u32 = 8;