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

11 lines
172 B
Plaintext

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