SKIP: FAILED | |
#include <metal_stdlib> | |
using namespace metal; | |
int vec4f() { | |
return 0; | |
} | |
float vec2f(int i) { | |
return float(i); | |
} | |
bool vec2i(float f) { | |
return bool(f); | |
} | |
vertex float4 tint_symbol(uint VertexIndex [[]]) { | |
return select(float4(0.0f), float4(1.0f), vec2i(vec2f(vec4f()))); | |
} | |
program_source:13:27: error: invalid type 'uint' (aka 'unsigned int') for input declaration in a vertex function | |
vertex float4 tint_symbol(uint VertexIndex [[]]) { | |
^~~~~~~~~~~~~~~~ | |