2021-05-18 10:28:48 +00:00
|
|
|
struct S {
|
2022-03-28 14:31:22 +00:00
|
|
|
i : i32,
|
2022-01-19 18:11:17 +00:00
|
|
|
}
|
2021-05-18 10:28:48 +00:00
|
|
|
|
|
|
|
var<private> V : S;
|
|
|
|
|
2021-06-17 09:10:04 +00:00
|
|
|
fn main_1() {
|
2021-05-18 10:28:48 +00:00
|
|
|
var i : i32;
|
|
|
|
let x_15 : i32 = V.i;
|
|
|
|
i = x_15;
|
|
|
|
return;
|
|
|
|
}
|
2021-06-17 09:10:04 +00:00
|
|
|
|
2022-06-07 13:55:34 +00:00
|
|
|
@compute @workgroup_size(1i, 1i, 1i)
|
2021-06-17 09:10:04 +00:00
|
|
|
fn main() {
|
|
|
|
main_1();
|
|
|
|
}
|