SKIP: FAILED



Validation Failure:
#include <metal_stdlib>

using namespace metal;
void textureStore_ac67aa() {
  arg_0.write(uint4(), int3());
}

vertex void vertex_main() {
  textureStore_ac67aa();
  return;
}

fragment void fragment_main() {
  textureStore_ac67aa();
  return;
}

kernel void compute_main() {
  textureStore_ac67aa();
  return;
}


tint_uE9lGE.metal:5:3: error: use of undeclared identifier 'arg_0'
  arg_0.write(uint4(), int3());
  ^
1 error generated.
