dawn-cmake/test/expressions/binary/bit-or/scalar-scalar/i32.wgsl.expected.msl

11 lines
142 B
Plaintext

#include <metal_stdlib>
using namespace metal;
kernel void f() {
int const a = 1;
int const b = 2;
int const r = (a | b);
return;
}