8 lines
122 B
WebGPU Shading Language
8 lines
122 B
WebGPU Shading Language
|
var<private> i : i32 = 123;
|
||
|
|
||
|
[[stage(compute)]]
|
||
|
fn main() {
|
||
|
let p : ptr<private, i32> = &i;
|
||
|
let use : i32 = *p + 1;
|
||
|
}
|