summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-12-11 18:58:32 -0700
committerBrian <brian.paul@tungstengraphics.com>2007-12-11 18:58:32 -0700
commit3d9bdaa80b9faaefcb896580717f4854e034410b (patch)
treea6d6a193295f00dd47099237182882aa21f11e9b /src
parentb2ad30d57197c2167789e4f3f5b34af6df56dde2 (diff)
include pipe/tgsi/exec/tgsi_sse2.h if needed. Silences warning.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/pipe/draw/draw_vertex_shader.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/pipe/draw/draw_vertex_shader.c b/src/mesa/pipe/draw/draw_vertex_shader.c
index 5294d38f47..d34d923018 100644
--- a/src/mesa/pipe/draw/draw_vertex_shader.c
+++ b/src/mesa/pipe/draw/draw_vertex_shader.c
@@ -33,12 +33,14 @@
#include "pipe/p_util.h"
#include "pipe/p_shader_tokens.h"
+#if defined(__i386__) || defined(__386__)
+#include "pipe/tgsi/exec/tgsi_sse2.h"
+#endif
#include "draw_private.h"
#include "draw_context.h"
#include "draw_vertex.h"
#include "x86/rtasm/x86sse.h"
-
#include "pipe/llvm/gallivm.h"