SKIP: FAILED



Validation Failure:
#include <metal_stdlib>

using namespace metal;
void textureStore_1bbd08() {
  arg_0.write(float4(), int3());
}

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

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

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


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