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

Method sext

crates/rustc_codegen_spirv/src/builder/builder_methods.rs:1403–1405  ·  view source on GitHub ↗
(&mut self, val: Self::Value, dest_ty: Self::Type)

Source from the content-addressed store, hash-verified

1401 self.intcast(val, dest_ty, false)
1402 }
1403 fn sext(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Value {
1404 self.intcast(val, dest_ty, true)
1405 }
1406 fn fptoui_sat(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Value {
1407 self.fptoint_sat(false, val, dest_ty)
1408 }

Callers

nothing calls this directly

Calls 1

intcastMethod · 0.80

Tested by

no test coverage detected