blob: 9ca07f16b8d8bea5226be641d9a56c06f7cf09d0 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct modf_result_vec2_f16 {
half2 fract;
half2 whole;
};
void modf_a545b9() {
modf_result_vec2_f16 res = modf_result_vec2_f16{.fract=half2(-0.5h), .whole=half2(-1.0h)};
}
fragment void fragment_main() {
modf_a545b9();
return;
}
kernel void compute_main() {
modf_a545b9();
return;
}
struct VertexOutput {
float4 pos;
};
struct tint_symbol {
float4 pos [[position]];
};
VertexOutput vertex_main_inner() {
VertexOutput out = {};
out.pos = float4(0.0f);
modf_a545b9();
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;
}