From e7c4eeacd486d899165d32abf9d4a7f39c74ec8c Mon Sep 17 00:00:00 2001 From: Dzmitry Malyshau Date: Thu, 16 Dec 2021 19:05:20 -0500 Subject: [PATCH] Release v0.8 --- CHANGELOG.md | 36 +++++++++++++++++++++++++++++++++++- Cargo.toml | 4 ++-- tests/in/globals.wgsl | 32 ++++++++++++++++---------------- 3 files changed, 53 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index da938ff2e1..93ab09e9ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,42 @@ # Change Log -## v0.8 (TBD) +## v0.8 (2021-12-18) + - development release for wgpu-0.12 + - lots of fixes in all parts + - validator: + - now gated by `validate` feature + - nicely detailed error messages with spans + - API: + - image gather operations - WGSL-in: - remove `[[block]]` attribute + - `elseif` is removed in favor of `else if` + - MSL-out: + - full out-of-bounds checking + +### v0.7.3 (2021-12-14) + - API: + - `view_index` builtin + - GLSL-out: + - reflect textures without samplers + - SPV-out: + - fix incorrect pack/unpack + +### v0.7.2 (2021-12-01) + - validator: + - check stores for proper pointer class + - HLSL-out: + - fix stores into `mat3` + - respect array strides + - SPV-out: + - fix multi-word constants + - WGSL-in: + - permit names starting with underscores + - SPV-in: + - cull unused builtins + - support empty debug labels + - GLSL-in: + - don't panic on invalid integer operations ### v0.7.1 (2021-10-12) - implement casts from and to booleans in the backends diff --git a/Cargo.toml b/Cargo.toml index 44a7eaf7a7..b3eaa24169 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "naga" -version = "0.7.1" +version = "0.8.0" authors = ["Naga Developers"] edition = "2018" description = "Shader translation infrastructure" homepage = "https://github.com/gfx-rs/naga" -repository = "https://github.com/gfx-rs/naga/tree/v0.7" +repository = "https://github.com/gfx-rs/naga/tree/v0.8" keywords = ["shader", "SPIR-V", "GLSL", "MSL"] license = "MIT OR Apache-2.0" exclude = ["bin/**/*", "tests/**/*", "Cargo.lock", "target/**/*"] diff --git a/tests/in/globals.wgsl b/tests/in/globals.wgsl index 17d470f997..87b25f6b6a 100644 --- a/tests/in/globals.wgsl +++ b/tests/in/globals.wgsl @@ -1,16 +1,16 @@ -// Global variable & constant declarations - -let Foo: bool = true; - -var wg : array; -var at: atomic; - -[[stage(compute), workgroup_size(1)]] -fn main() { - wg[3] = 1.0; - atomicStore(&at, 2u); - - // Valid, Foo and at is in function scope - var Foo: f32 = 1.0; - var at: bool = true; -} +// Global variable & constant declarations + +let Foo: bool = true; + +var wg : array; +var at: atomic; + +[[stage(compute), workgroup_size(1)]] +fn main() { + wg[3] = 1.0; + atomicStore(&at, 2u); + + // Valid, Foo and at is in function scope + var Foo: f32 = 1.0; + var at: bool = true; +}