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

7 lines
109 B
WebGPU Shading Language

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