Release v0.8

This commit is contained in:
Dzmitry Malyshau 2021-12-16 19:05:20 -05:00
parent 8caa2bd87e
commit c2328fea75
3 changed files with 53 additions and 19 deletions

View File

@ -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

View File

@ -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/**/*"]

View File

@ -1,16 +1,16 @@
// Global variable & constant declarations
let Foo: bool = true;
var<workgroup> wg : array<f32, 10u>;
var<workgroup> at: atomic<u32>;
[[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<workgroup> wg : array<f32, 10u>;
var<workgroup> at: atomic<u32>;
[[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;
}