blob: 24a76acdda42aa8d79ec808df7e81df4b85b64b7 [file] [log] [blame]
SKIP: FAILED
Validation Failure:
#include <metal_stdlib>
using namespace metal;
void textureDimensions_8b4fff() {
int2 res = int2(arg_0.get_width(), arg_0.get_height());
}
vertex void vertex_main() {
textureDimensions_8b4fff();
return;
}
fragment void fragment_main() {
textureDimensions_8b4fff();
return;
}
kernel void compute_main() {
textureDimensions_8b4fff();
return;
}
tint_HYEIin.metal:5:19: error: use of undeclared identifier 'arg_0'
int2 res = int2(arg_0.get_width(), arg_0.get_height());
^
tint_HYEIin.metal:5:38: error: use of undeclared identifier 'arg_0'
int2 res = int2(arg_0.get_width(), arg_0.get_height());
^
2 errors generated.