aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/draw
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-12-11 18:58:32 -0700
committerBrian <[email protected]>2007-12-11 18:58:32 -0700
commit3d9bdaa80b9faaefcb896580717f4854e034410b (patch)
treea6d6a193295f00dd47099237182882aa21f11e9b /src/mesa/pipe/draw
parentb2ad30d57197c2167789e4f3f5b34af6df56dde2 (diff)
include pipe/tgsi/exec/tgsi_sse2.h if needed. Silences warning.
Diffstat (limited to 'src/mesa/pipe/draw')
-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 5294d38f473..d34d9230187 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"