summaryrefslogtreecommitdiff
path: root/src/sna/gen4_vertex.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-02-26 11:28:05 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-02-26 11:37:10 +0000
commit08747292b717fcea84ce3adc455b0161e5517e84 (patch)
tree91a0908389e857aa2163b14c6aa713a7f721339e /src/sna/gen4_vertex.c
parent9c63ddd9f14588bcec8275e2a64e56cc5b661a5a (diff)
sna: Conditionally compile sse2 routines
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen4_vertex.c')
-rw-r--r--src/sna/gen4_vertex.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sna/gen4_vertex.c b/src/sna/gen4_vertex.c
index c307a6b1..35f772e9 100644
--- a/src/sna/gen4_vertex.c
+++ b/src/sna/gen4_vertex.c
@@ -34,6 +34,10 @@
#include "sna_render_inline.h"
#include "gen4_vertex.h"
+#ifndef sse2
+#define sse2
+#endif
+
void gen4_vertex_flush(struct sna *sna)
{
DBG(("%s[%x] = %d\n", __FUNCTION__,