dawn-cmake/test/tint/builtins/insertBits/vec3/u32.spvasm.expected.wgsl

18 lines
346 B
WebGPU Shading Language
Raw Normal View History

fn f_1() {
var v : vec3u = vec3u();
var n : vec3u = vec3u();
var offset_1 : u32 = 0u;
var count : u32 = 0u;
let x_17 : vec3u = v;
let x_18 : vec3u = n;
let x_19 : u32 = offset_1;
let x_20 : u32 = count;
let x_15 : vec3u = insertBits(x_17, x_18, x_19, x_20);
return;
}
@compute @workgroup_size(1i, 1i, 1i)
fn f() {
f_1();
}