INNER CODE UNIT · Rust

Some

EmbarkStudios/rust-gpu · crates/rustc_codegen_spirv/src/lib.rs:162

                if let Some(parent_def_id) = tcx.opt_parent(def_id) {
                    if is_debug_fmt_method(parent_def_id) {
                        return true;
                    }
                }
            }
        }
    }

    false
}

// TODO: Should this store Vec or Module?
struct SpirvModuleBuffer(Vec<u32>);

impl ModuleBufferMethods for SpirvModuleBuffer {
    fn data(&self) -> &[u8] {
        spirv_tools::binary::from_binary(&self.0)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…