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