2022-02-23 21:18:09 +00:00
|
|
|
fn f_1() {
|
2023-05-09 10:36:41 +00:00
|
|
|
var v : vec3u = vec3u();
|
|
|
|
var n : vec3u = vec3u();
|
2022-02-23 21:18:09 +00:00
|
|
|
var offset_1 : u32 = 0u;
|
|
|
|
var count : u32 = 0u;
|
2023-05-09 10:36:41 +00:00
|
|
|
let x_17 : vec3u = v;
|
|
|
|
let x_18 : vec3u = n;
|
2022-02-23 21:18:09 +00:00
|
|
|
let x_19 : u32 = offset_1;
|
|
|
|
let x_20 : u32 = count;
|
2023-05-09 10:36:41 +00:00
|
|
|
let x_15 : vec3u = insertBits(x_17, x_18, x_19, x_20);
|
2022-02-23 21:18:09 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2022-06-07 13:55:34 +00:00
|
|
|
@compute @workgroup_size(1i, 1i, 1i)
|
2022-02-23 21:18:09 +00:00
|
|
|
fn f() {
|
|
|
|
f_1();
|
|
|
|
}
|