#include <metal_stdlib>

using namespace metal;
void textureStore_2796b4(texture3d<int, access::write> tint_symbol) {
  tint_symbol.write(int4(1), uint3(int3(1)));
}

fragment void fragment_main(texture3d<int, access::write> tint_symbol_1 [[texture(0)]]) {
  textureStore_2796b4(tint_symbol_1);
  return;
}

kernel void compute_main(texture3d<int, access::write> tint_symbol_2 [[texture(0)]]) {
  textureStore_2796b4(tint_symbol_2);
  return;
}

