11 lines
103 B
WebGPU Shading Language
11 lines
103 B
WebGPU Shading Language
|
struct S {
|
||
|
i : i32;
|
||
|
};
|
||
|
|
||
|
[[stage(compute)]]
|
||
|
fn main() {
|
||
|
var V : S;
|
||
|
var i : i32 = V.i;
|
||
|
return;
|
||
|
}
|