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