blob: 4767398cdc1db1b92323e152e504c63cba635053 [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
struct vec4f {
int i;
};
vertex float4 tint_symbol(uint VertexIndex [[]]) {
vec4f const s = vec4f{.i=1};
float const f = float(s.i);
bool const b = bool(f);
return select(float4(0.0f), float4(1.0f), b);
}
program_source:7:27: error: invalid type 'uint' (aka 'unsigned int') for input declaration in a vertex function
vertex float4 tint_symbol(uint VertexIndex [[]]) {
^~~~~~~~~~~~~~~~