Ben Clayton | 2e376a9 | 2022-10-26 18:47:02 +0000 | [diff] [blame] | 1 | #include <metal_stdlib> |
| 2 | |
| 3 | using namespace metal; |
| 4 | void textureStore_72fa64(texture2d_array<int, access::write> tint_symbol_1) { |
Ben Clayton | 4b60615 | 2022-11-04 17:06:03 +0000 | [diff] [blame] | 5 | tint_symbol_1.write(int4(1), uint2(uint2(1u)), 1); |
Ben Clayton | 2e376a9 | 2022-10-26 18:47:02 +0000 | [diff] [blame] | 6 | } |
| 7 | |
| 8 | struct tint_symbol { |
| 9 | float4 value [[position]]; |
| 10 | }; |
| 11 | |
| 12 | float4 vertex_main_inner(texture2d_array<int, access::write> tint_symbol_2) { |
| 13 | textureStore_72fa64(tint_symbol_2); |
| 14 | return float4(0.0f); |
| 15 | } |
| 16 | |
| 17 | vertex tint_symbol vertex_main(texture2d_array<int, access::write> tint_symbol_3 [[texture(0)]]) { |
| 18 | float4 const inner_result = vertex_main_inner(tint_symbol_3); |
| 19 | tint_symbol wrapper_result = {}; |
| 20 | wrapper_result.value = inner_result; |
| 21 | return wrapper_result; |
| 22 | } |
| 23 | |
| 24 | fragment void fragment_main(texture2d_array<int, access::write> tint_symbol_4 [[texture(0)]]) { |
| 25 | textureStore_72fa64(tint_symbol_4); |
| 26 | return; |
| 27 | } |
| 28 | |
| 29 | kernel void compute_main(texture2d_array<int, access::write> tint_symbol_5 [[texture(0)]]) { |
| 30 | textureStore_72fa64(tint_symbol_5); |
| 31 | return; |
| 32 | } |
| 33 | |