From: Jonathan White Date: Tue, 30 Sep 2008 20:07:09 +0000 (-0600) Subject: cell: Moved X86 checks to wrap #include section so that Cell targets will compile... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5e585719ebab17959d972e2e69c04203ecd3f2f3;p=mesa.git cell: Moved X86 checks to wrap #include section so that Cell targets will compile again. --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_sse2.c b/src/gallium/auxiliary/tgsi/tgsi_sse2.c index 4fdad3a5c78..94b2df2dbbf 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: