https://bugs.freedesktop.org/show_bug.cgi?id=101766
--- Comment #2 from David R. MacIver <da...@drmaciver.com> ---
> So makes sense that i2f wants an int input. Something must be auto-converting
> the int to a float, but then leaving the i2f in? Odd.
Note that the correct behaviour here is a compile error. If I remove the vec2()
call I get an error "0:4(2): error: initializer of type int cannot be assigned
to variable of type float"
So the problem is probably less auto-conversion and more bad code putting the
compiler in an invalid state as it continues error checking.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev