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

Method emit_global

crates/rustc_codegen_spirv/src/codegen_cx/mod.rs:143–148  ·  view source on GitHub ↗

See comment on `BuilderCursor`

(&self)

Source from the content-addressed store, hash-verified

141
142 /// See comment on `BuilderCursor`
143 pub fn emit_global(&self) -> std::cell::RefMut<'_, rspirv::dr::Builder> {
144 self.builder.builder(BuilderCursor {
145 function: None,
146 block: None,
147 })
148 }
149
150 /// See comment on `BuilderCursor`
151 pub fn emit_with_cursor(

Callers 13

beginMethod · 0.80
defMethod · 0.80
def_with_idMethod · 0.80
def_with_nameMethod · 0.80
set_linkageMethod · 0.80
entry_stubMethod · 0.80
shader_entry_stubMethod · 0.80
declare_fn_extMethod · 0.80
declare_globalMethod · 0.80
insert_instMethod · 0.80
import_customMethod · 0.80

Calls 1

builderMethod · 0.80

Tested by

no test coverage detected