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

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

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

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