| // |
| // fragment_main |
| // |
| #include <metal_stdlib> |
| |
| using namespace metal; |
| void textureStore_a0022f(texture2d_array<int, access::read_write> tint_symbol) { |
| tint_symbol.write(int4(1), uint2(int2(1)), 1); tint_symbol.fence(); |
| } |
| |
| fragment void fragment_main(texture2d_array<int, access::read_write> tint_symbol_1 [[texture(0)]]) { |
| textureStore_a0022f(tint_symbol_1); |
| return; |
| } |
| |
| // |
| // compute_main |
| // |
| #include <metal_stdlib> |
| |
| using namespace metal; |
| void textureStore_a0022f(texture2d_array<int, access::read_write> tint_symbol) { |
| tint_symbol.write(int4(1), uint2(int2(1)), 1); tint_symbol.fence(); |
| } |
| |
| kernel void compute_main(texture2d_array<int, access::read_write> tint_symbol_1 [[texture(0)]]) { |
| textureStore_a0022f(tint_symbol_1); |
| return; |
| } |
| |