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

Method const_undef

crates/rustc_codegen_spirv/src/codegen_cx/constant.rs:127–129  ·  view source on GitHub ↗
(&self, ty: Self::Type)

Source from the content-addressed store, hash-verified

125 self.constant_null(t)
126 }
127 fn const_undef(&self, ty: Self::Type) -> Self::Value {
128 self.undef(ty)
129 }
130 fn const_poison(&self, ty: Self::Type) -> Self::Value {
131 // No distinction between undef and poison.
132 self.const_undef(ty)

Callers 1

const_poisonMethod · 0.80

Calls 1

undefMethod · 0.80

Tested by

no test coverage detected