diff --git a/CHANGELOG.md b/CHANGELOG.md index f7ebcef42..fe5ed1fd2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index 92ff6da74..8053c5723 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -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;