File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
crates/shader-crate-template Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,7 @@ crate-type = ["rlib", "cdylib"]
1010[dependencies ]
1111# TODO: use a simple crate version once v0.10.0 is released
1212spirv-std = { git = " https://github.com/Rust-GPU/rust-gpu" , rev = " 86fc48032c4cd4afb74f1d81ae859711d20386a1" }
13-
14- # Dependencies for GPU code
15- [target .'cfg(target_arch = "spirv")' .dependencies ]
16- glam = { version = " 0.29" , default-features = false , features = [" libm" ] }
17-
18- # Dependencies for CPU code
19- [target .'cfg(not(target_arch = "spirv"))' .dependencies ]
20- glam = { version = " 0.29" , features = [" std" ] }
13+ glam = { version = " 0.29" , default-features = false }
2114
2215[package .metadata .rust-gpu .build ]
2316# Where to output the compiled shader. Defaults to where `cargo gpu` is called from.
You can’t perform that action at this time.
0 commit comments