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

7 lines
153 B
WebGPU Shading Language

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