r600: Build fix
authorAdam Jackson <ajax@redhat.com>
Fri, 11 Mar 2011 22:20:34 +0000 (17:20 -0500)
committerAdam Jackson <ajax@redhat.com>
Fri, 11 Mar 2011 22:24:47 +0000 (17:24 -0500)
r600_dri.so.tmp: undefined reference to `_mesa_rgba_logicop_enabled'

src/gallium/drivers/r600/evergreen_state.c
src/mesa/drivers/dri/r600/evergreen_state.c
src/mesa/drivers/dri/r600/r700_state.c

index 4206b4a..a50bdfa 100644 (file)
@@ -47,6 +47,7 @@
 #include "r600_shader.h"
 #include "r600_pipe.h"
 #include "eg_state_inlines.h"
+#include "main/state.h"
 
 static void evergreen_set_blend_color(struct pipe_context *ctx,
                                        const struct pipe_blend_color *state)
index db11741..309c93f 100644 (file)
@@ -32,6 +32,7 @@
 #include "main/context.h"
 #include "main/dd.h"
 #include "main/simple_list.h"
+#include "main/state.h"
 
 #include "tnl/tnl.h"
 #include "tnl/t_pipeline.h"
index d272fec..4d285b3 100644 (file)
@@ -32,6 +32,7 @@
 #include "main/context.h"
 #include "main/dd.h"
 #include "main/simple_list.h"
+#include "main/state.h"
 
 #include "tnl/tnl.h"
 #include "tnl/t_pipeline.h"