Mesa (master): mesa: Fix ieee fp on Alpha

Matt Turner mattst88 at kemper.freedesktop.org
Mon Jun 17 17:04:01 UTC 2013


Module: Mesa
Branch: master
Commit: 0829b893a9e9c874c0ef80d343af49334305e32e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0829b893a9e9c874c0ef80d343af49334305e32e

Author: Sven Joachim <svenjoac at gmx.de>
Date:   Fri Jun 14 22:10:33 2013 +0200

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 <mattst88 at gmail.com>
Reviewed-by: Andreas Boll <andreas.boll.dev at gmail.com>
Signed-off-by: Sven Joachim <svenjoac at gmx.de>

---

 src/mesa/main/compiler.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index ad719d4..fb7baf8 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




More information about the mesa-commit mailing list