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