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

7 lines
164 B
WebGPU Shading Language

@stage(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;
}