RWTexture2DArray<uint4> arg_0 : register(u0, space1);

void textureStore_00ca64() {
  int2 arg_1 = (1).xx;
  uint arg_2 = 1u;
  uint4 arg_3 = (1u).xxxx;
  arg_0[int3(arg_1, int(arg_2))] = arg_3;
}

void fragment_main() {
  textureStore_00ca64();
  return;
}

[numthreads(1, 1, 1)]
void compute_main() {
  textureStore_00ca64();
  return;
}
