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