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

11 lines
154 B
Plaintext

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