postprocess render pass

This commit is contained in:
Piotrek
2021-04-26 19:07:02 +02:00
parent 19aefbf287
commit 3a444d6e3a
14 changed files with 179 additions and 24 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ impl ShaderData {
let extension = src_path.extension().expect("File has no extension").to_str().unwrap();
// Create output path
let directory = src_path.parent().unwrap().join("bin");
let directory = src_path.parent().unwrap().join(".bin");
create_dir_all(directory.clone()).expect("Failed to create output directory");
let spv_path = directory.join(filename).with_extension(format!("{}.spv", extension));