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