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

Method const_bool

crates/rustc_codegen_spirv/src/codegen_cx/constant.rs:143–145  ·  view source on GitHub ↗
(&self, val: bool)

Source from the content-addressed store, hash-verified

141 self.constant_int(t, u as u64)
142 }
143 fn const_bool(&self, val: bool) -> Self::Value {
144 self.constant_bool(DUMMY_SP, val)
145 }
146 fn const_i16(&self, i: i16) -> Self::Value {
147 self.constant_i16(DUMMY_SP, i)
148 }

Callers

nothing calls this directly

Calls 1

constant_boolMethod · 0.80

Tested by

no test coverage detected