draw: fix non-i386 builds
authorKeith Whitwell <keith@tungstengraphics.com>
Sun, 22 Jun 2008 12:14:29 +0000 (13:14 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Sun, 22 Jun 2008 12:17:01 +0000 (13:17 +0100)
src/gallium/auxiliary/draw/draw_vs_aos_machine.c

index dcb6c2c8d4c462685756f6d873696ca59a3ac484..6a54917ae385102bdff3a539000677b0424fa0c8 100644 (file)
@@ -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