2022-02-23 21:18:09 +00:00
|
|
|
fn f_1() {
|
2023-05-09 10:36:41 +00:00
|
|
|
var v : vec3i = vec3i();
|
|
|
|
var n : vec3i = vec3i();
|
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_18 : vec3i = v;
|
|
|
|
let x_19 : vec3i = n;
|
2022-02-23 21:18:09 +00:00
|
|
|
let x_20 : u32 = offset_1;
|
|
|
|
let x_21 : u32 = count;
|
2023-05-09 10:36:41 +00:00
|
|
|
let x_16 : vec3i = insertBits(x_18, x_19, x_20, x_21);
|
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();
|
|
|
|
}
|