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