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