dawn-cmake/test/tint/expressions/binary/bit-and/scalar-scalar/bool.wgsl

7 lines
102 B
WebGPU Shading Language

@compute @workgroup_size(1)
fn f() {
let a = true;
let b = false;
let r : bool = a & b;
}