38 lines
556 B
Plaintext
38 lines
556 B
Plaintext
|
SKIP: FAILED
|
||
|
|
||
|
|
||
|
|
||
|
Validation Failure:
|
||
|
#include <metal_stdlib>
|
||
|
|
||
|
using namespace metal;
|
||
|
struct tint_symbol {
|
||
|
float4 value [[position]];
|
||
|
};
|
||
|
|
||
|
void ignore_5c9edf() {
|
||
|
(void) arg_0;
|
||
|
}
|
||
|
|
||
|
vertex tint_symbol vertex_main() {
|
||
|
ignore_5c9edf();
|
||
|
tint_symbol const tint_symbol_1 = {.value=float4()};
|
||
|
return tint_symbol_1;
|
||
|
}
|
||
|
|
||
|
fragment void fragment_main() {
|
||
|
ignore_5c9edf();
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
kernel void compute_main() {
|
||
|
ignore_5c9edf();
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
|
||
|
tint_520czX.metal:9:10: error: use of undeclared identifier 'arg_0'
|
||
|
(void) arg_0;
|
||
|
^
|
||
|
1 error generated.
|