blob: 31f7d1b149eb4143208bf7384be342f748e09890 [file] [log] [blame]
dan sinclairb4697b762023-11-24 09:42:19 +00001#include <metal_stdlib>
2using namespace metal;
James Price02cf9112024-05-29 14:43:19 +00003struct vertex_main_outputs {
4 float4 tint_symbol [[position]];
5};
dan sinclairf1f381a2023-11-22 09:44:15 +00006
dan sinclairb4697b762023-11-24 09:42:19 +00007void cosh_f67ff1() {
8 float3 res = float3(1.0f);
9}
James Price02cf9112024-05-29 14:43:19 +000010float4 vertex_main_inner() {
dan sinclairb4697b762023-11-24 09:42:19 +000011 cosh_f67ff1();
12 return float4(0.0f);
13}
14fragment void fragment_main() {
15 cosh_f67ff1();
16}
17kernel void compute_main() {
18 cosh_f67ff1();
19}
James Price02cf9112024-05-29 14:43:19 +000020vertex vertex_main_outputs vertex_main() {
21 return vertex_main_outputs{.tint_symbol=vertex_main_inner()};
22}