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