Additional options to clang

This commit is contained in:
Andrzej Janik 2021-08-08 02:42:38 +02:00
parent 5969e59aae
commit 043172bd9b

View file

@ -189,6 +189,8 @@ impl SpirvModule {
let mut compiler_cmd = Command::new(&cland_exe);
compiler_cmd
.arg(format!("-mcpu={}", device_name))
.arg("-nogpulib")
.arg("-mno-wavefrontsize64")
.arg("-O3")
.arg("-Xlinker")
.arg("--no-undefined")