blob: 8d5db8688dcb9624d723903805184480ca197c12 [file] [log] [blame]
Ben Claytonda5424b2022-10-24 23:58:53 +00001#include <metal_stdlib>
2
3using namespace metal;
4void textureStore_a0f96e(texture2d_array<float, access::write> tint_symbol_1) {
Ben Clayton4b606152022-11-04 17:06:03 +00005 uint2 arg_1 = uint2(1u);
Ben Claytonda5424b2022-10-24 23:58:53 +00006 uint arg_2 = 1u;
Ben Clayton4b606152022-11-04 17:06:03 +00007 float4 arg_3 = float4(1.0f);
Ben Claytonda5424b2022-10-24 23:58:53 +00008 tint_symbol_1.write(arg_3, uint2(arg_1), arg_2);
9}
10
11struct tint_symbol {
12 float4 value [[position]];
13};
14
15float4 vertex_main_inner(texture2d_array<float, access::write> tint_symbol_2) {
16 textureStore_a0f96e(tint_symbol_2);
17 return float4(0.0f);
18}
19
20vertex 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
27fragment void fragment_main(texture2d_array<float, access::write> tint_symbol_4 [[texture(0)]]) {
28 textureStore_a0f96e(tint_symbol_4);
29 return;
30}
31
32kernel void compute_main(texture2d_array<float, access::write> tint_symbol_5 [[texture(0)]]) {
33 textureStore_a0f96e(tint_symbol_5);
34 return;
35}
36