Texture2DArray<int4> arg_0 : register(t0, space1);

void textureNumLayers_4bf67b() {
  int3 tint_tmp;
  arg_0.GetDimensions(tint_tmp.x, tint_tmp.y, tint_tmp.z);
  int res = tint_tmp.z;
}

void vertex_main() {
  textureNumLayers_4bf67b();
  return;
}

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

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

