Skip to content

Commit 2ec6524

Browse files
schelltombh
authored andcommitted
add extra debugging
1 parent 3f1ab56 commit 2ec6524

File tree

1 file changed

+2
-0
lines changed
  • crates/spirv-builder-cli/src

1 file changed

+2
-0
lines changed

crates/spirv-builder-cli/src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,15 @@ fn main() {
9393
log::debug!("Calling `rust-gpu`'s `spirv-builder` library");
9494
builder.build().unwrap()
9595
};
96+
log::debug!("found entry points: {entry_points:#?}");
9697

9798
let dir = output_dir;
9899
let mut shaders = vec![];
99100
match module {
100101
ModuleResult::MultiModule(modules) => {
101102
assert!(!modules.is_empty(), "No shader modules to compile");
102103
for (entry, filepath) in modules.into_iter() {
104+
log::debug!("compiled {entry} {}", filepath.display());
103105
shaders.push(ShaderModule::new(entry, filepath));
104106
}
105107
}

0 commit comments

Comments
 (0)