[naga spv-out] Add some tracing output to Writer::write_function.

This commit is contained in:
Jim Blandy 2024-10-10 12:54:43 -07:00
parent 436ffba77a
commit 26a95fd270

View File

@ -355,6 +355,7 @@ impl Writer {
mut interface: Option<FunctionInterface>,
debug_info: &Option<DebugInfoInner>,
) -> Result<Word, Error> {
log::trace!("Generating code for {:?}", ir_function.name);
let mut function = Function::default();
let prelude_id = self.id_gen.next();