MCPcopy Create free account
hub / github.com/Rust-GPU/rust-gpu / emit

Method emit

crates/rustc_codegen_spirv/src/builder/mod.rs:50–52  ·  view source on GitHub ↗

See comment on `BuilderCursor`

(&self)

Source from the content-addressed store, hash-verified

48impl<'a, 'tcx> Builder<'a, 'tcx> {
49 /// See comment on `BuilderCursor`
50 pub fn emit(&self) -> std::cell::RefMut<'_, rspirv::dr::Builder> {
51 self.emit_with_cursor(self.cursor)
52 }
53
54 pub fn zombie(&self, word: Word, reason: &str) {
55 if let Some(current_span) = self.current_span {

Callers 15

post_link_single_moduleFunction · 0.45
do_spirv_optFunction · 0.45
do_spirv_valFunction · 0.45
trans_intrinsic_typeFunction · 0.45
def_with_spanMethod · 0.45
linkFunction · 0.45
report_allMethod · 0.45
visitFunction · 0.45
check_tys_equalFunction · 0.45
report_from_attrsMethod · 0.45

Calls 1

emit_with_cursorMethod · 0.80

Tested by

no test coverage detected