
RWTexture2DArray<uint4> arg_0 : register(u0, space1);
void textureStore_ac0a55() {
  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_ac0a55();
}

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

