blob: fb2b6678666401a2f1e4ea745a282a686f5a60a7 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct modf_result_f32 {
float fract;
float whole;
};
kernel void tint_symbol() {
float const in = 1.25f;
modf_result_f32 v = {};
v.fract = modf(in, v.whole);
modf_result_f32 const res = v;
float const fract = res.fract;
float const whole = res.whole;
}