#include <metal_stdlib> | |
using namespace metal; | |
uint3 subgroupExclusiveMul_f039f4() { | |
uint3 res = simd_prefix_exclusive_product(uint3(1u)); | |
return res; | |
} | |
fragment void fragment_main(device packed_uint3* tint_symbol [[buffer(0)]]) { | |
*(tint_symbol) = packed_uint3(subgroupExclusiveMul_f039f4()); | |
return; | |
} | |
kernel void compute_main(device packed_uint3* tint_symbol_1 [[buffer(0)]]) { | |
*(tint_symbol_1) = packed_uint3(subgroupExclusiveMul_f039f4()); | |
return; | |
} | |