
RWTexture3D<uint4> arg_0 : register(u0, space1);
void textureStore_ef9f2f() {
  int3 arg_1 = (1).xxx;
  uint4 arg_2 = (1u).xxxx;
  arg_0[arg_1] = arg_2;
}

void fragment_main() {
  textureStore_ef9f2f();
}

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

