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