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