RWTexture2D<float4> arg_0 : register(u0, space1);

void textureStore_f975a0() {
  int2 arg_1 = (1).xx;
  float4 arg_2 = (1.0f).xxxx;
  arg_0[arg_1] = arg_2;
}

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

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