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