Skip to content

Commit cfaabba

Browse files
committed
Bump version to 0.8.0.
1 parent 54d98c8 commit cfaabba

File tree

5 files changed

+20
-17
lines changed

5 files changed

+20
-17
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.8.0]
33+
3234
### Added ⭐
3335
- [PR#1064](https://github.com/EmbarkStudios/rust-gpu/pull/1064) added a Rust-GPU-private
3436
"extended instruction set" (to allow us to have custom `OpExtInst`s), with the

Cargo.lock

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

Cargo.toml

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

2626
[workspace.package]
27-
version = "0.7.0"
27+
version = "0.8.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.7.0" }
35-
spirv-std-types = { path = "./crates/spirv-std/shared", version = "=0.7.0" }
36-
spirv-std-macros = { path = "./crates/spirv-std/macros", version = "=0.7.0" }
37-
spirv-builder = { path = "./crates/spirv-builder", version = "=0.7.0", default-features = false }
38-
rustc_codegen_spirv = { path = "./crates/rustc_codegen_spirv", version = "=0.7.0", default-features = false }
39-
rustc_codegen_spirv-types = { path = "./crates/rustc_codegen_spirv-types", version = "=0.7.0" }
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" }
4040

4141
# Enable incremental by default in release mode.
4242
[profile.release]

crates/spirv-builder/README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- markdownlint-disable-file MD033 -->
33
# `spirv-builder`
44

5-
![Rust version](https://img.shields.io/badge/rust-nightly--2023--03--04-purple.svg)
5+
![Rust version](https://img.shields.io/badge/rust-nightly--2023--04--15-purple.svg)
66

77
This crate gives you `SpirvBuilder`, a tool to build shaders using [rust-gpu][rustgpu].
88

@@ -31,12 +31,13 @@ const SHADER: &[u8] = include_bytes!(env!("my_shaders.spv"));
3131

3232
Because of its nature, `rustc_codegen_spirv`, and therefore `spirv-builder` by extension, require the use of a very specific nightly toolchain of Rust.
3333

34-
**The current toolchain is: `nightly-2023-03-04`.**
34+
**The current toolchain is: `nightly-2023-04-15`.**
3535

3636
Toolchains for previous versions of `spirv-builder`:
3737

3838
|Version|Toolchain|
3939
|-:|-|
40+
|`0.8.0`|`nightly-2023-04-15`|
4041
|`0.7.0`|`nightly-2023-03-04`|
4142
|`0.6.*`|`nightly-2023-01-21`|
4243
|`0.5.0`|`nightly-2022-12-18`|

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.7"
44+
spirv-builder = "0.8"
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.7" }
156+
spirv-std = { version = "0.8" }
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)