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

Method volatile_load

crates/rustc_codegen_spirv/src/builder/builder_methods.rs:1117–1122  ·  view source on GitHub ↗
(&mut self, ty: Self::Type, ptr: Self::Value)

Source from the content-addressed store, hash-verified

1115 }
1116
1117 fn volatile_load(&mut self, ty: Self::Type, ptr: Self::Value) -> Self::Value {
1118 // TODO: Implement this
1119 let result = self.load(ty, ptr, Align::from_bytes(0).unwrap());
1120 self.zombie(result.def(self), "volatile load is not supported yet");
1121 result
1122 }
1123
1124 fn atomic_load(
1125 &mut self,

Callers 1

Calls 3

zombieMethod · 0.80
loadMethod · 0.45
defMethod · 0.45

Tested by

no test coverage detected