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

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