dawn-cmake/test/unittest/reader/spirv/SpvUnaryBitTest_BitCount_In...

14 lines
266 B
WebGPU Shading Language

fn main_1() {
let u1 : u32 = 10u;
let i1 : i32 = 30;
let v2u1 : vec2<u32> = vec2<u32>(10u, 20u);
let v2i1 : vec2<i32> = vec2<i32>(30, 40);
let x_1 : i32 = countOneBits(i1);
return;
}
[[stage(compute), workgroup_size(1, 1, 1)]]
fn main() {
main_1();
}