2022-05-04 22:25:19 +00:00
|
|
|
var<private> I : i32 = 0i;
|
2021-05-18 10:28:48 +00:00
|
|
|
|
2021-06-17 09:10:04 +00:00
|
|
|
fn main_1() {
|
2022-05-04 22:25:19 +00:00
|
|
|
I = 123i;
|
|
|
|
I = ((100i + 20i) + 3i);
|
2021-05-18 10:28:48 +00:00
|
|
|
return;
|
|
|
|
}
|
2021-06-17 09:10:04 +00:00
|
|
|
|
2022-05-05 20:23:40 +00:00
|
|
|
@stage(compute) @workgroup_size(1i, 1i, 1i)
|
2021-06-17 09:10:04 +00:00
|
|
|
fn main() {
|
|
|
|
main_1();
|
|
|
|
}
|