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

11 lines
156 B
Plaintext

#include <metal_stdlib>
using namespace metal;
kernel void f() {
bool const a = true;
bool const b = false;
bool const r = bool(a & b);
return;
}