We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f709a7e commit d3fa73eCopy full SHA for d3fa73e
build.rs
@@ -3,18 +3,16 @@ use std::path::PathBuf;
3
use std::str::FromStr;
4
5
pub fn main() {
6
- // println!("cargo:rerun-if-changed=build.rs");
7
let slang = SlangCompiler::new(vec![PathBuf::from_str("./shaders").unwrap()]);
8
9
let targets = [
10
CompileTarget::Wgsl,
11
#[cfg(feature = "cuda")]
12
- CompileTarget::Ptx,
13
- #[cfg(feature = "cuda")]
14
CompileTarget::CudaSource,
15
];
16
17
for target in targets {
18
slang.compile_all(target, "../shaders", "./src/autogen", &[]);
19
}
20
+
0 commit comments