
RWTexture2D<int4> arg_0 : register(u0, space1);
void textureStore_6c4a70() {
  uint2 arg_1 = (1u).xx;
  int4 arg_2 = (int(1)).xxxx;
  arg_0[arg_1] = arg_2;
}

void fragment_main() {
  textureStore_6c4a70();
}

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

