
RWTexture2DArray<uint4> arg_0 : register(u0, space1);
void textureStore_2addd6() {
  uint2 arg_1 = (1u).xx;
  uint arg_2 = 1u;
  uint4 arg_3 = (1u).xxxx;
  uint2 v = arg_1;
  uint4 v_1 = arg_3;
  arg_0[uint3(v, uint(arg_2))] = v_1;
}

void fragment_main() {
  textureStore_2addd6();
}

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

