dawn-cmake/test/ptr_ref/load/local/ptr_private.wgsl.expected.wgsl

8 lines
128 B
WebGPU Shading Language

var<private> i : i32 = 123;
[[stage(compute)]]
fn main() {
let p : ptr<private, i32> = &(i);
let use : i32 = (*(p) + 1);
}