// flags: --transform renamer // Evilness 😈. Don't go getting any ideas! fn vec4f() -> i32 { return 0; } fn vec2f(i : i32) -> f32 { return f32(i); } fn vec2i(f : f32) -> bool { return bool(f); } @vertex fn main(@builtin(vertex_index) VertexIndex : u32) -> @builtin(position) vec4 { return select(vec4(), vec4(1), vec2i(vec2f(vec4f()))); }