| // |
| // fragment_main |
| // |
| #include <metal_stdlib> |
| |
| using namespace metal; |
| int3 subgroupAnd_1877b3() { |
| int3 res = simd_and(int3(1)); |
| return res; |
| } |
| |
| fragment void fragment_main(device packed_int3* tint_symbol [[buffer(0)]]) { |
| *(tint_symbol) = packed_int3(subgroupAnd_1877b3()); |
| return; |
| } |
| |
| // |
| // compute_main |
| // |
| #include <metal_stdlib> |
| |
| using namespace metal; |
| int3 subgroupAnd_1877b3() { |
| int3 res = simd_and(int3(1)); |
| return res; |
| } |
| |
| kernel void compute_main(device packed_int3* tint_symbol [[buffer(0)]]) { |
| *(tint_symbol) = packed_int3(subgroupAnd_1877b3()); |
| return; |
| } |
| |