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

11 lines
192 B
Plaintext

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