Skip to content

Commit c2f98b6

Browse files
committed
Bump version to 0.9.0.
1 parent 9002209 commit c2f98b6

File tree

6 files changed

+24
-23
lines changed

6 files changed

+24
-23
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2929

3030
## [Unreleased]
3131

32+
## [0.9.0]
33+
3234
### Added ⭐
3335
- [PR#1082](https://github.com/EmbarkStudios/rust-gpu/pull/1082) added partial
3436
support for extracting `format_args!` from `panic!`s, and converting them to

Cargo.lock

+11-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+7-10
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ members = [
2424
]
2525

2626
[workspace.package]
27-
version = "0.8.0"
27+
version = "0.9.0"
2828
authors = ["Embark <[email protected]>"]
2929
edition = "2021"
3030
license = "MIT OR Apache-2.0"
3131
repository = "https://github.com/EmbarkStudios/rust-gpu"
3232

3333
[workspace.dependencies]
34-
spirv-std = { path = "./crates/spirv-std", version = "=0.8.0" }
35-
spirv-std-types = { path = "./crates/spirv-std/shared", version = "=0.8.0" }
36-
spirv-std-macros = { path = "./crates/spirv-std/macros", version = "=0.8.0" }
37-
spirv-builder = { path = "./crates/spirv-builder", version = "=0.8.0", default-features = false }
38-
rustc_codegen_spirv = { path = "./crates/rustc_codegen_spirv", version = "=0.8.0", default-features = false }
39-
rustc_codegen_spirv-types = { path = "./crates/rustc_codegen_spirv-types", version = "=0.8.0" }
34+
spirv-std = { path = "./crates/spirv-std", version = "=0.9.0" }
35+
spirv-std-types = { path = "./crates/spirv-std/shared", version = "=0.9.0" }
36+
spirv-std-macros = { path = "./crates/spirv-std/macros", version = "=0.9.0" }
37+
spirv-builder = { path = "./crates/spirv-builder", version = "=0.9.0", default-features = false }
38+
rustc_codegen_spirv = { path = "./crates/rustc_codegen_spirv", version = "=0.9.0", default-features = false }
39+
rustc_codegen_spirv-types = { path = "./crates/rustc_codegen_spirv-types", version = "=0.9.0" }
4040

4141
# Enable incremental by default in release mode.
4242
[profile.release]
@@ -52,6 +52,3 @@ codegen-units = 256
5252
opt-level = 3
5353
incremental = true
5454
codegen-units = 256
55-
56-
[patch.crates-io]
57-
spirt = { git = "https://github.com/EmbarkStudios/spirt", branch = "main" }

crates/rustc_codegen_spirv/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ serde_json = "1.0"
5858
smallvec = { version = "1.6.1", features = ["union"] }
5959
spirv-tools = { version = "0.9", default-features = false }
6060
rustc_codegen_spirv-types.workspace = true
61-
spirt = "0.2.0"
61+
spirt = "0.3.0"
6262
lazy_static = "1.4.0"
6363
itertools = "0.10.5"
6464

crates/spirv-builder/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Rust toolchain version history across [rust-gpu releases](https://github.com/Emb
3737

3838
|`spirv-builder`<br>version|Rust toolchain<br>version|
3939
|:-:|:-:|
40+
|`0.9`|`nightly-2023-05-27`|
4041
|`0.8`|`nightly-2023-04-15`|
4142
|`0.7`|`nightly-2023-03-04`|
4243
|`0.6`|`nightly-2023-01-21`|

docs/src/writing-shader-crates.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ crates to display, it's recommended to use `spirv-builder` in a build script.
4141
2. Reference `spirv-builder` in your Cargo.toml:
4242
```toml
4343
[build-dependencies]
44-
spirv-builder = "0.8"
44+
spirv-builder = "0.9"
4545
```
4646
All dependent crates are published on [crates.io](https://crates.io).
4747
3. Create a `build.rs` in your project root.
@@ -153,7 +153,7 @@ Configure your shader crate as a `"dylib"` type crate, and add `spirv-std` to it
153153
crate-type = ["dylib"]
154154

155155
[dependencies]
156-
spirv-std = { version = "0.8" }
156+
spirv-std = { version = "0.9" }
157157
```
158158

159159
Make sure your shader code uses the `no_std` attribute and makes the `spirv` attribute visibile in the global scope. Then, you're ready to write your first shader. Here's a very simple fragment shader called `main_fs` as an example that outputs the color red:

0 commit comments

Comments
 (0)