| // |
| // fragment_main |
| // |
| #include <metal_stdlib> |
| |
| using namespace metal; |
| float2 subgroupMul_f78398() { |
| float2 res = simd_product(float2(1.0f)); |
| return res; |
| } |
| |
| fragment void fragment_main(device float2* tint_symbol [[buffer(0)]]) { |
| *(tint_symbol) = subgroupMul_f78398(); |
| return; |
| } |
| |
| // |
| // compute_main |
| // |
| #include <metal_stdlib> |
| |
| using namespace metal; |
| float2 subgroupMul_f78398() { |
| float2 res = simd_product(float2(1.0f)); |
| return res; |
| } |
| |
| kernel void compute_main(device float2* tint_symbol [[buffer(0)]]) { |
| *(tint_symbol) = subgroupMul_f78398(); |
| return; |
| } |
| |