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