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