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

11 lines
172 B
Plaintext

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