blob: 8813bf04b58e01dc1b7aa37a5b2710a2d85f843d [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_5ee194(texture2d_array<float, access::read_write> tint_symbol_1) {
5 uint2 arg_1 = uint2(1u);
6 uint arg_2 = 1u;
7 float4 arg_3 = float4(1.0f);
8 tint_symbol_1.write(arg_3, uint2(arg_1), arg_2); tint_symbol_1.fence();
James Price807f3ef2023-08-11 00:45:54 +00009}
10
James Price05c839632023-08-11 13:55:52 +000011struct tint_symbol {
12 float4 value [[position]];
13};
14
15float4 vertex_main_inner(texture2d_array<float, access::read_write> tint_symbol_2) {
16 textureStore_5ee194(tint_symbol_2);
17 return float4(0.0f);
James Price807f3ef2023-08-11 00:45:54 +000018}
19
James Price05c839632023-08-11 13:55:52 +000020vertex tint_symbol vertex_main(texture2d_array<float, access::read_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;
James Price807f3ef2023-08-11 00:45:54 +000025}
26
James Price05c839632023-08-11 13:55:52 +000027fragment void fragment_main(texture2d_array<float, access::read_write> tint_symbol_4 [[texture(0)]]) {
28 textureStore_5ee194(tint_symbol_4);
29 return;
James Price807f3ef2023-08-11 00:45:54 +000030}
31
James Price05c839632023-08-11 13:55:52 +000032kernel void compute_main(texture2d_array<float, access::read_write> tint_symbol_5 [[texture(0)]]) {
33 textureStore_5ee194(tint_symbol_5);
34 return;
35}
James Price807f3ef2023-08-11 00:45:54 +000036