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

void fragment_main() {
  textureStore_b42fd3();
}

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

