36 lines
736 B
Plaintext
36 lines
736 B
Plaintext
|
SKIP: FAILED
|
||
|
|
||
|
|
||
|
|
||
|
Validation Failure:
|
||
|
#include <metal_stdlib>
|
||
|
|
||
|
using namespace metal;
|
||
|
void textureDimensions_72e5d6() {
|
||
|
int2 res = int2(arg_0.get_width(1), arg_0.get_height(1));
|
||
|
}
|
||
|
|
||
|
vertex void vertex_main() {
|
||
|
textureDimensions_72e5d6();
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
fragment void fragment_main() {
|
||
|
textureDimensions_72e5d6();
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
kernel void compute_main() {
|
||
|
textureDimensions_72e5d6();
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
|
||
|
tint_nWOwt2.metal:5:19: error: use of undeclared identifier 'arg_0'
|
||
|
int2 res = int2(arg_0.get_width(1), arg_0.get_height(1));
|
||
|
^
|
||
|
tint_nWOwt2.metal:5:39: error: use of undeclared identifier 'arg_0'
|
||
|
int2 res = int2(arg_0.get_width(1), arg_0.get_height(1));
|
||
|
^
|
||
|
2 errors generated.
|