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