Version update to 0.6.0

This commit is contained in:
Sylvester Hesp 2023-03-14 17:20:25 +01:00
parent 28b675d2eb
commit 17a1249dee
4 changed files with 17 additions and 16 deletions

View File

@ -27,7 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
-->
## [Unreleased]
## [0.6.0]
### Added ⭐
- [PR#998](https://github.com/EmbarkStudios/rust-gpu/pull/998) added `extra_arg()` SpirvBuilder API to be able to set codegen args otherwise not supported by the API (for example, to set `--spirv-passes`).

12
Cargo.lock generated
View File

@ -1999,7 +1999,7 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
[[package]]
name = "rustc_codegen_spirv"
version = "0.5.0"
version = "0.6.0"
dependencies = [
"ar",
"either",
@ -2027,7 +2027,7 @@ dependencies = [
[[package]]
name = "rustc_codegen_spirv-types"
version = "0.5.0"
version = "0.6.0"
dependencies = [
"rspirv",
"serde",
@ -2270,7 +2270,7 @@ dependencies = [
[[package]]
name = "spirv-builder"
version = "0.5.0"
version = "0.6.0"
dependencies = [
"memchr",
"notify",
@ -2283,7 +2283,7 @@ dependencies = [
[[package]]
name = "spirv-std"
version = "0.5.0"
version = "0.6.0"
dependencies = [
"bitflags",
"glam",
@ -2294,7 +2294,7 @@ dependencies = [
[[package]]
name = "spirv-std-macros"
version = "0.5.0"
version = "0.6.0"
dependencies = [
"proc-macro2",
"quote",
@ -2304,7 +2304,7 @@ dependencies = [
[[package]]
name = "spirv-std-types"
version = "0.5.0"
version = "0.6.0"
[[package]]
name = "spirv-tools"

View File

@ -24,19 +24,19 @@ members = [
]
[workspace.package]
version = "0.5.0"
version = "0.6.0"
authors = ["Embark <opensource@embark-studios.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/EmbarkStudios/rust-gpu"
[workspace.dependencies]
spirv-std = { path = "./crates/spirv-std", version = "=0.5.0" }
spirv-std-types = { path = "./crates/spirv-std/shared", version = "=0.5.0" }
spirv-std-macros = { path = "./crates/spirv-std/macros", version = "=0.5.0" }
spirv-builder = { path = "./crates/spirv-builder", version = "=0.5.0", default-features = false }
rustc_codegen_spirv = { path = "./crates/rustc_codegen_spirv", version = "=0.5.0", default-features = false }
rustc_codegen_spirv-types = { path = "./crates/rustc_codegen_spirv-types", version = "=0.5.0" }
spirv-std = { path = "./crates/spirv-std", version = "=0.6.0" }
spirv-std-types = { path = "./crates/spirv-std/shared", version = "=0.6.0" }
spirv-std-macros = { path = "./crates/spirv-std/macros", version = "=0.6.0" }
spirv-builder = { path = "./crates/spirv-builder", version = "=0.6.0", default-features = false }
rustc_codegen_spirv = { path = "./crates/rustc_codegen_spirv", version = "=0.6.0", default-features = false }
rustc_codegen_spirv-types = { path = "./crates/rustc_codegen_spirv-types", version = "=0.6.0" }
# Enable incremental by default in release mode.
[profile.release]

View File

@ -2,7 +2,7 @@
<!-- markdownlint-disable-file MD033 -->
# `spirv-builder`
![Rust version](https://img.shields.io/badge/rust-nightly--2022--12--18-purple.svg)
![Rust version](https://img.shields.io/badge/rust-nightly--2023--01--21-purple.svg)
This crate gives you `SpirvBuilder`, a tool to build shaders using [rust-gpu][rustgpu].
@ -31,12 +31,13 @@ const SHADER: &[u8] = include_bytes!(env!("my_shaders.spv"));
Because of its nature, `rustc_codegen_spirv`, and therefore `spirv-builder` by extension, require the use of a very specific nightly toolchain of Rust.
**The current toolchain is: `nightly-2022-10-29`.**
**The current toolchain is: `nightly-2023-01-21`.**
Toolchains for previous versions of `spirv-builder`:
|Version|Toolchain|
|-:|-|
|`0.6.0`|`nightly-2023-01-21`|
|`0.5.0`|`nightly-2022-12-18`|
|`0.4.0`|`nightly-2022-10-29`|
|`0.4.0-alpha.16` - `0.4.0-alpha.17`|`nightly-2022-10-01`|