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

void textureStore_036d0e() {
  int3 arg_1 = (1).xxx;
  float4 arg_2 = (1.0f).xxxx;
  arg_0[arg_1] = arg_2;
}

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

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