On Fri, May 20, 2016 at 12:55 AM, Iago Toral Quiroga <ito...@igalia.com> wrote: > I think these are not strictly necessary since the floats in them > should be automatically promoted to doubles when operated with > double sources, but it makes things more explicit at least. > ---
I would be somewhat worried that without this, some non-zero double-precision values would be rounded to 0.0f when converted to a float. Reviewed-by: Matt Turner <matts...@gmail.com> _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev