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

Method constant_null

crates/rustc_codegen_spirv/src/codegen_cx/constant.rs:114–116  ·  view source on GitHub ↗
(&self, ty: Word)

Source from the content-addressed store, hash-verified

112 }
113
114 pub fn constant_null(&self, ty: Word) -> SpirvValue {
115 self.def_constant(ty, SpirvConst::Null)
116 }
117
118 pub fn undef(&self, ty: Word) -> SpirvValue {
119 self.def_constant(ty, SpirvConst::Undef)

Callers 3

def_constant_cxMethod · 0.80
const_nullMethod · 0.80
scalar_to_backendMethod · 0.80

Calls 1

def_constantMethod · 0.80

Tested by

no test coverage detected