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

Method const_int

crates/rustc_codegen_spirv/src/codegen_cx/constant.rs:134–136  ·  view source on GitHub ↗
(&self, t: Self::Type, i: i64)

Source from the content-addressed store, hash-verified

132 self.const_undef(ty)
133 }
134 fn const_int(&self, t: Self::Type, i: i64) -> Self::Value {
135 self.constant_int(t, i as u64)
136 }
137 fn const_uint(&self, t: Self::Type, i: u64) -> Self::Value {
138 self.constant_int(t, i)
139 }

Callers

nothing calls this directly

Calls 1

constant_intMethod · 0.80

Tested by

no test coverage detected