33 lines
517 B
Plaintext
33 lines
517 B
Plaintext
|
SKIP: FAILED
|
||
|
|
||
|
|
||
|
|
||
|
Validation Failure:
|
||
|
#include <metal_stdlib>
|
||
|
|
||
|
using namespace metal;
|
||
|
void textureDimensions_55b23e() {
|
||
|
int res = int(arg_0.get_width());
|
||
|
}
|
||
|
|
||
|
vertex void vertex_main() {
|
||
|
textureDimensions_55b23e();
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
fragment void fragment_main() {
|
||
|
textureDimensions_55b23e();
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
kernel void compute_main() {
|
||
|
textureDimensions_55b23e();
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
|
||
|
tint_bIR2Jm.metal:5:17: error: use of undeclared identifier 'arg_0'
|
||
|
int res = int(arg_0.get_width());
|
||
|
^
|
||
|
1 error generated.
|