On Thu, Aug 6, 2015 at 4:36 AM, Thomas Helland
<thomashellan...@gmail.com> wrote:
> The positive and negative value of a float can only
> be equal to each other if it is -0.0f and 0.0f.
> This is safe for Nan and Inf, as -Nan != Nan, and -Inf != Inf
> This gives no changes in my shader-db
>
> Signed-off-by: Thomas Helland <thomashellan...@gmail.com>
> ---

I believe this is also safe.

Reviewed-by: Matt Turner <matts...@gmail.com>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to