
RWTexture2DArray<float4> arg_0 : register(u0, space1);
void textureStore_c06463() {
  int2 arg_1 = (1).xx;
  int arg_2 = 1;
  float4 arg_3 = (1.0f).xxxx;
  RWTexture2DArray<float4> v = arg_0;
  int2 v_1 = arg_1;
  float4 v_2 = arg_3;
  v[int3(v_1, int(arg_2))] = v_2;
}

void fragment_main() {
  textureStore_c06463();
}

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

