dawn-cmake/test/tint/expressions/binary/bit-xor/scalar-scalar/u32.wgsl

7 lines
96 B
WebGPU Shading Language

@compute @workgroup_size(1)
fn f() {
let a = 1u;
let b = 2u;
let r : u32 = a ^ b;
}