From 93e57ffcf26160c045dd2ee3ec5d871b0a892c31 Mon Sep 17 00:00:00 2001 From: Dzmitry Malyshau Date: Thu, 29 Apr 2021 00:52:43 -0400 Subject: [PATCH] Another CHANGELOG update for v0.4 (#796) --- CHANGELOG.md | 14 +++++++++----- Cargo.toml | 4 ++-- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c23cb5aaee..112921fae4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log -## v0.4 (TBD) +## v0.4 (2021-04-29) - development release for wgpu-0.8 - API: - expressions are explicitly emitted with `Statement::Emit` @@ -13,18 +13,22 @@ - new `Statement::ImageStore` - all function calls are `Statement::Call` - `GlobalUse` is moved out into processing - - field layout is controlled by `size` and `alignment` overrides, based on a default layout - `Header` is removed - entry points are an array instead of a map + - new `Swizzle` and `Splat` expressions + - interpolation qualifiers are extended and required + - struct member layout is based on the byte offsets - Infrastructure: - control flow uniformity analysis - texture-sampler combination gathering - `CallGraph` processor is moved out into `glsl` backend - - `Interface` is removed - - statement tree and constants are validated + - `Interface` is removed, instead the analysis produces `ModuleInfo` with all the derived info + - validation of statement tree, expressions, and constants - code linting is more strict for matches - new GraphViz `dot` backend for pretty visualization of the IR - - `convert` is default a binary target, published with the crate + - Metal support for inlined samplers + - `convert` example is transformed into the default binary target named `naga` + - lots of frontend and backend fixes ### v0.3.2 (2021-02-15) - fix logical expression types diff --git a/Cargo.toml b/Cargo.toml index b3f3e5dcc5..cbe909dcb3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "naga" -version = "0.3.1" +version = "0.4.0" authors = ["Naga Developers"] edition = "2018" description = "Shader translation infrastructure" @@ -24,7 +24,7 @@ pomelo = { version = "0.1.4", optional = true } thiserror = "1.0.21" serde = { version = "1.0", features = ["derive"], optional = true } petgraph = { version ="0.5", optional = true } -pp-rs = { git = "https://github.com/Kangz/glslpp-rs", rev = "4f2f72a", optional = true } +pp-rs = { version = "0.1", optional = true } #env_logger = "0.8" # uncomment temporarily for developing with the binary target [features]