Mesa (gallium-0.2): cell: Moved X86 checks to wrap #include section so that Cell targets will compile again .
Jonathan White
jwhitetg at kemper.freedesktop.org
Tue Sep 30 20:04:48 UTC 2008
Module: Mesa
Branch: gallium-0.2
Commit: 5e585719ebab17959d972e2e69c04203ecd3f2f3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e585719ebab17959d972e2e69c04203ecd3f2f3
Author: Jonathan White <jwhite at tungstengraphics.com>
Date: Tue Sep 30 14:07:09 2008 -0600
cell: Moved X86 checks to wrap #include section so that Cell targets will compile again.
---
src/gallium/auxiliary/tgsi/tgsi_sse2.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/auxiliary/tgsi/tgsi_sse2.c b/src/gallium/auxiliary/tgsi/tgsi_sse2.c
index 4fdad3a..94b2df2 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_sse2.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_sse2.c
@@ -25,6 +25,8 @@
*
**************************************************************************/
+#ifdef PIPE_ARCH_X86
+
#include "pipe/p_debug.h"
#include "pipe/p_shader_tokens.h"
#include "util/u_math.h"
@@ -36,8 +38,6 @@
#include "rtasm/rtasm_x86sse.h"
-#ifdef PIPE_ARCH_X86
-
/* for 1/sqrt()
*
* This costs about 100fps (close to 10%) in gears:
More information about the mesa-commit
mailing list