blob: b8c76ce5179a6ca25ac5b473518f2c0295791a7e [file] [log] [blame]
James Price05c839632023-08-11 13:55:52 +00001#include <metal_stdlib>
James Price807f3ef2023-08-11 00:45:54 +00002
James Price05c839632023-08-11 13:55:52 +00003using namespace metal;
4void textureStore_8ebdc9(texture2d_array<float, access::read_write> tint_symbol_1) {
5 tint_symbol_1.write(float4(1.0f), uint2(uint2(1u)), 1u); tint_symbol_1.fence();
James Price807f3ef2023-08-11 00:45:54 +00006}
7
James Price05c839632023-08-11 13:55:52 +00008struct tint_symbol {
9 float4 value [[position]];
10};
11
12float4 vertex_main_inner(texture2d_array<float, access::read_write> tint_symbol_2) {
13 textureStore_8ebdc9(tint_symbol_2);
14 return float4(0.0f);
James Price807f3ef2023-08-11 00:45:54 +000015}
16
James Price05c839632023-08-11 13:55:52 +000017vertex tint_symbol vertex_main(texture2d_array<float, access::read_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;
James Price807f3ef2023-08-11 00:45:54 +000022}
23
James Price05c839632023-08-11 13:55:52 +000024fragment void fragment_main(texture2d_array<float, access::read_write> tint_symbol_4 [[texture(0)]]) {
25 textureStore_8ebdc9(tint_symbol_4);
26 return;
James Price807f3ef2023-08-11 00:45:54 +000027}
28
James Price05c839632023-08-11 13:55:52 +000029kernel void compute_main(texture2d_array<float, access::read_write> tint_symbol_5 [[texture(0)]]) {
30 textureStore_8ebdc9(tint_symbol_5);
31 return;
32}
James Price807f3ef2023-08-11 00:45:54 +000033