Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rust-GPU/rust-gpu
/ undef
Method
undef
crates/rustc_codegen_spirv/src/codegen_cx/constant.rs:118–120 ·
view source on GitHub ↗
(&self, ty: Word)
Source
from the content-addressed store, hash-verified
116
}
117
118
pub fn undef(&self, ty: Word) -> SpirvValue {
119
self.def_constant(ty, SpirvConst::Undef)
120
}
121
}
122
123
impl<
'tcx> ConstMethods<'
tcx> for CodegenCx<'tcx> {
Callers
13
def_constant_cx
Method · 0.80
constant_int
Method · 0.80
const_undef
Method · 0.80
scalar_to_backend
Method · 0.80
const_data_from_alloc
Method · 0.80
create_const_alloc2
Method · 0.80
declare_shader_interface_for_param
Method · 0.80
declare_fn_ext
Method · 0.80
load_err
Method · 0.80
call_libm_intrinsic
Method · 0.80
codegen_intrinsic_call
Method · 0.80
checked_binop
Method · 0.80
Calls
1
def_constant
Method · 0.80
Tested by
no test coverage detected