summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-06-22 13:14:29 +0100
committerKeith Whitwell <[email protected]>2008-06-22 13:17:01 +0100
commite2c3f06e9649b5b87fc9adbca7d1f07841bba895 (patch)
treed72ab8b1653de93fec2a69cc175ef029540e7897
parent2a5a95d0c08fe07b50385028b6972a4383f2b095 (diff)
draw: fix non-i386 builds
-rw-r--r--src/gallium/auxiliary/draw/draw_vs_aos_machine.c22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vs_aos_machine.c b/src/gallium/auxiliary/draw/draw_vs_aos_machine.c
index dcb6c2c8d4c..6a54917ae38 100644
--- a/src/gallium/auxiliary/draw/draw_vs_aos_machine.c
+++ b/src/gallium/auxiliary/draw/draw_vs_aos_machine.c
@@ -28,7 +28,6 @@
#include "pipe/p_config.h"
-#ifdef PIPE_ARCH_X86
#include "pipe/p_util.h"
#include "pipe/p_shader_tokens.h"
@@ -39,6 +38,8 @@
#include "draw_vs_aos.h"
#include "draw_vertex.h"
+#ifdef PIPE_ARCH_X86
+
#include "rtasm/rtasm_x86sse.h"
@@ -298,6 +299,25 @@ struct aos_machine *draw_vs_aos_machine( void )
return machine;
}
+#else
+
+void draw_vs_aos_machine_viewport( struct aos_machine *machine,
+ const struct pipe_viewport_state *viewport )
+{
+}
+
+void draw_vs_aos_machine_constants( struct aos_machine *machine,
+ const float (*constants)[4] )
+{
+}
+
+void draw_vs_aos_machine_destroy( struct aos_machine *machine )
+{
+}
+struct aos_machine *draw_vs_aos_machine( void )
+{
+ return NULL;
+}
#endif