| // |
| // fragment_main |
| // |
| #include <metal_stdlib> |
| |
| using namespace metal; |
| void textureStore_bf775c(texture1d<int, access::write> tint_symbol) { |
| int arg_1 = 1; |
| int4 arg_2 = int4(1); |
| tint_symbol.write(arg_2, uint(arg_1)); |
| } |
| |
| fragment void fragment_main(texture1d<int, access::write> tint_symbol_1 [[texture(0)]]) { |
| textureStore_bf775c(tint_symbol_1); |
| return; |
| } |
| |
| // |
| // compute_main |
| // |
| #include <metal_stdlib> |
| |
| using namespace metal; |
| void textureStore_bf775c(texture1d<int, access::write> tint_symbol) { |
| int arg_1 = 1; |
| int4 arg_2 = int4(1); |
| tint_symbol.write(arg_2, uint(arg_1)); |
| } |
| |
| kernel void compute_main(texture1d<int, access::write> tint_symbol_1 [[texture(0)]]) { |
| textureStore_bf775c(tint_symbol_1); |
| return; |
| } |
| |