1#include <metal_stdlib> 2 3using namespace metal; 4struct SB_RW { 5 /* 0x0000 */ atomic_int arg_0; 6}; 7 8void atomicSub_051100(device SB_RW* const tint_symbol) { 9 int res = atomic_fetch_sub_explicit(&((*(tint_symbol)).arg_0), 1, memory_order_relaxed); 10} 11 12fragment void fragment_main(device SB_RW* tint_symbol_1 [[buffer(0)]]) { 13 atomicSub_051100(tint_symbol_1); 14 return; 15} 16 17kernel void compute_main(device SB_RW* tint_symbol_2 [[buffer(0)]]) { 18 atomicSub_051100(tint_symbol_2); 19 return; 20} 21 22