diff --git a/CHANGELOG.md b/CHANGELOG.md index d5096cddf5..7542c6b541 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,6 +42,8 @@ Bottom level categories: ### Major changes +- Update Naga to 9eb3a1dc (2023-10-12), which includes support for WGSL constant expressions. By @jimblandy in [#4233](https://github.com/gfx-rs/wgpu/pull/4233) + #### Pass timestamp queries Addition of `TimestampWrites` to compute and render passes to allow profiling. @@ -102,7 +104,6 @@ By @teoxoy in [#4185](https://github.com/gfx-rs/wgpu/pull/4185) #### General -- Update Naga to df8107b7 (2023-9-15). By @jimblandy in [#4149](https://github.com/gfx-rs/wgpu/pull/4149) - Omit texture store bound checks since they are no-ops if out of bounds on all APIs. By @teoxoy in [#3975](https://github.com/gfx-rs/wgpu/pull/3975) - Validate `DownlevelFlags::READ_ONLY_DEPTH_STENCIL`. By @teoxoy in [#4031](https://github.com/gfx-rs/wgpu/pull/4031) - Add validation in accordance with WebGPU `setViewport` valid usage for `x`, `y` and `this.[[attachment_size]]`. By @James2022-rgb in [#4058](https://github.com/gfx-rs/wgpu/pull/4058) diff --git a/Cargo.lock b/Cargo.lock index ceb0fc4829..d926f60adb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1686,7 +1686,7 @@ dependencies = [ [[package]] name = "naga" version = "0.13.0" -source = "git+https://github.com/gfx-rs/naga?rev=33b75a27d93c6574b11b4dd4492b85b5783d6c52#33b75a27d93c6574b11b4dd4492b85b5783d6c52" +source = "git+https://github.com/gfx-rs/naga?rev=9eb3a1dc8a522e627b266f9157442f0fe8b65ec9#9eb3a1dc8a522e627b266f9157442f0fe8b65ec9" dependencies = [ "bit-set", "bitflags 2.4.0", diff --git a/Cargo.toml b/Cargo.toml index a88afb357f..77be61c514 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -51,7 +51,7 @@ version = "0.17" [workspace.dependencies.naga] git = "https://github.com/gfx-rs/naga" -rev = "33b75a27d93c6574b11b4dd4492b85b5783d6c52" +rev = "9eb3a1dc8a522e627b266f9157442f0fe8b65ec9" version = "0.13.0" [workspace.dependencies] diff --git a/wgpu-core/Cargo.toml b/wgpu-core/Cargo.toml index bfaa002637..490ce11b97 100644 --- a/wgpu-core/Cargo.toml +++ b/wgpu-core/Cargo.toml @@ -77,7 +77,7 @@ thiserror = "1" [dependencies.naga] git = "https://github.com/gfx-rs/naga" -rev = "33b75a27d93c6574b11b4dd4492b85b5783d6c52" +rev = "9eb3a1dc8a522e627b266f9157442f0fe8b65ec9" version = "0.13.0" features = ["clone", "span", "validate"] diff --git a/wgpu-hal/Cargo.toml b/wgpu-hal/Cargo.toml index 5f09a83d50..5593e2ffeb 100644 --- a/wgpu-hal/Cargo.toml +++ b/wgpu-hal/Cargo.toml @@ -120,14 +120,14 @@ android_system_properties = "0.1.1" [dependencies.naga] git = "https://github.com/gfx-rs/naga" -rev = "33b75a27d93c6574b11b4dd4492b85b5783d6c52" +rev = "9eb3a1dc8a522e627b266f9157442f0fe8b65ec9" version = "0.13.0" features = ["clone"] # DEV dependencies [dev-dependencies.naga] git = "https://github.com/gfx-rs/naga" -rev = "33b75a27d93c6574b11b4dd4492b85b5783d6c52" +rev = "9eb3a1dc8a522e627b266f9157442f0fe8b65ec9" version = "0.13.0" features = ["wgsl-in"]