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

11 lines
175 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 = fmod(a, b);
return;
}