| // |
| // fragment_main |
| // |
| #include <metal_stdlib> |
| |
| using namespace metal; |
| float quadBroadcast_e6d39d() { |
| float arg_0 = 1.0f; |
| float res = quad_broadcast(arg_0,1); |
| return res; |
| } |
| |
| fragment void fragment_main(device float* tint_symbol [[buffer(0)]]) { |
| *(tint_symbol) = quadBroadcast_e6d39d(); |
| return; |
| } |
| |
| // |
| // compute_main |
| // |
| #include <metal_stdlib> |
| |
| using namespace metal; |
| float quadBroadcast_e6d39d() { |
| float arg_0 = 1.0f; |
| float res = quad_broadcast(arg_0,1); |
| return res; |
| } |
| |
| kernel void compute_main(device float* tint_symbol [[buffer(0)]]) { |
| *(tint_symbol) = quadBroadcast_e6d39d(); |
| return; |
| } |
| |