From: Sven Joachim Date: Fri, 14 Jun 2013 20:10:33 +0000 (+0200) Subject: mesa: Fix ieee fp on Alpha X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0829b893a9e9c874c0ef80d343af49334305e32e;p=mesa.git mesa: Fix ieee fp on Alpha Commit 1f82bf12ed inadvertently broke it, checking for __IEEE_FLOAT on all Alpha machines instead of only on VMS as before. NOTE: This is a candidate for the 9.1 branch. Reviewed-by: Matt Turner Reviewed-by: Andreas Boll Signed-off-by: Sven Joachim --- diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h index ad719d4e098..fb7baf84ea4 100644 --- a/src/mesa/main/compiler.h +++ b/src/mesa/main/compiler.h @@ -316,7 +316,7 @@ static INLINE GLuint CPU_TO_LE32(GLuint x) defined(__arm__) || \ defined(__sh__) || defined(__m32r__) || \ (defined(__sun) && defined(_IEEE_754)) || \ - (defined(__alpha__) && defined(__IEEE_FLOAT)) + defined(__alpha__) #define USE_IEEE #define IEEE_ONE 0x3f800000 #endif