| #include <metal_stdlib> |
| using namespace metal; |
| |
| struct VertexOutput { |
| float4 pos; |
| }; |
| |
| struct vertex_main_outputs { |
| float4 VertexOutput_pos [[position]]; |
| }; |
| |
| void exp_bda5bb() { |
| float3 res = float3(2.71828174591064453125f); |
| } |
| |
| fragment void fragment_main() { |
| exp_bda5bb(); |
| } |
| |
| kernel void compute_main() { |
| exp_bda5bb(); |
| } |
| |
| VertexOutput vertex_main_inner() { |
| VertexOutput out = {}; |
| out.pos = float4(0.0f); |
| exp_bda5bb(); |
| return out; |
| } |
| |
| vertex vertex_main_outputs vertex_main() { |
| return vertex_main_outputs{.VertexOutput_pos=vertex_main_inner().pos}; |
| } |