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

void textureStore_e7c6d8() {
  uint arg_1 = 1u;
  float4 arg_2 = (1.0f).xxxx;
  arg_0[arg_1] = arg_2;
}

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

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