Skip to content

Commit c8d6f40

Browse files
committed
Switch to spirv-unknown-vulkan1.2 as default target
1 parent 6c4dc15 commit c8d6f40

File tree

2 files changed

+45
-28
lines changed

2 files changed

+45
-28
lines changed

Cargo.lock

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

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ struct ShaderBuilder {
9494
/// Shader crate to compile.
9595
path_to_crate: PathBuf,
9696
/// rust-gpu compile target.
97-
#[arg(short, long, default_value = "spirv-unknown-spv1.5")]
97+
#[arg(short, long, default_value = "spirv-unknown-vulkan1.2")]
9898
target: String,
9999
/// Treat warnings as errors during compilation.
100100
#[arg(long, default_value = "false")]

0 commit comments

Comments
 (0)