mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-21 22:33:49 +00:00
fix: lower QUERY_SET_MAX_QUERYS
8192 → 4096 (#6525)
This commit is contained in:
parent
e8a8281203
commit
4311091cce
@ -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).
|
- 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).
|
- 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)
|
## 23.0.0 (2024-10-25)
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@ pub const VERTEX_STRIDE_ALIGNMENT: BufferAddress = 4;
|
|||||||
/// Alignment all push constants need
|
/// Alignment all push constants need
|
||||||
pub const PUSH_CONSTANT_ALIGNMENT: u32 = 4;
|
pub const PUSH_CONSTANT_ALIGNMENT: u32 = 4;
|
||||||
/// Maximum queries in a query set
|
/// 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.
|
/// Size of a single piece of query data.
|
||||||
pub const QUERY_SIZE: u32 = 8;
|
pub const QUERY_SIZE: u32 = 8;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user