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