blob: ec669d8dfec194592d723548ce03f986d771fed5 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct VertexOutput {
float4 pos;
};
struct vertex_main_outputs {
float4 VertexOutput_pos [[position]];
};
void ldexp_cb0faf() {
float4 res = float4(2.0f);
}
fragment void fragment_main() {
ldexp_cb0faf();
}
kernel void compute_main() {
ldexp_cb0faf();
}
VertexOutput vertex_main_inner() {
VertexOutput out = {};
out.pos = float4(0.0f);
ldexp_cb0faf();
return out;
}
vertex vertex_main_outputs vertex_main() {
return vertex_main_outputs{.VertexOutput_pos=vertex_main_inner().pos};
}