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