blob: 69ab3104ac4a71b4a114cba5975a624ecbdc2027 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct modf_result_vec3_f16 {
half3 fract;
half3 whole;
};
void modf_45005f() {
modf_result_vec3_f16 res = modf_result_vec3_f16{.fract=half3(-0.5h), .whole=half3(-1.0h)};
}
fragment void fragment_main() {
modf_45005f();
return;
}
kernel void compute_main() {
modf_45005f();
return;
}
struct VertexOutput {
float4 pos;
};
struct tint_symbol {
float4 pos [[position]];
};
VertexOutput vertex_main_inner() {
VertexOutput out = {};
out.pos = float4(0.0f);
modf_45005f();
return out;
}
vertex tint_symbol vertex_main() {
VertexOutput const inner_result = vertex_main_inner();
tint_symbol wrapper_result = {};
wrapper_result.pos = inner_result.pos;
return wrapper_result;
}