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