Skip to content

Commit 003cbc5

Browse files
committed
Update shader-crate-template's spirv-std
otherwise I can't build it
1 parent 9e2e493 commit 003cbc5

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

crates/cargo-gpu/src/spirv_source.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ mod test {
259259
source,
260260
SpirvSource::Git {
261261
url: "https://github.com/Rust-GPU/rust-gpu".to_owned(),
262-
rev: "86fc48032c4cd4afb74f1d81ae859711d20386a1".to_owned()
262+
rev: "2aa4d4f8a8ba73103501562cfca17b8163e5a887".to_owned()
263263
}
264264
);
265265
}
@@ -281,7 +281,7 @@ mod test {
281281
.to_str()
282282
.map(std::string::ToString::to_string)
283283
.unwrap();
284-
assert_eq!("https___github_com_Rust-GPU_rust-gpu+86fc4803", &name);
284+
assert_eq!("https___github_com_Rust-GPU_rust-gpu+2aa4d4f8", &name);
285285
}
286286

287287
#[test_log::test]

crates/shader-crate-template/Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/shader-crate-template/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ crate-type = ["rlib", "cdylib"]
99
# Dependencies for CPU and GPU code
1010
[dependencies]
1111
# TODO: use a simple crate version once v0.10.0 is released
12-
spirv-std = { git = "https://github.com/Rust-GPU/rust-gpu", rev = "86fc48032c4cd4afb74f1d81ae859711d20386a1" }
13-
glam = { version = "0.29", default-features = false }
12+
spirv-std = { git = "https://github.com/Rust-GPU/rust-gpu", rev = "2aa4d4f8a8ba73103501562cfca17b8163e5a887" }
13+
glam = { version = "0.30", default-features = false }
1414

1515
[package.metadata.rust-gpu.build]
1616
# Where to output the compiled shader. Defaults to where `cargo gpu` is called from.

0 commit comments

Comments
 (0)