dawn-cmake/test/tint/expressions/binary/add/scalar-scalar/f16.wgsl.expected.msl

11 lines
151 B
Plaintext

#include <metal_stdlib>
using namespace metal;
kernel void f() {
half const a = 1.0h;
half const b = 2.0h;
half const r = (a + b);
return;
}