gallium: make max_anisotropy a unsigned bitfield member
[mesa.git] / src / gallium / drivers / r300 / r300_flush.c
index c78a7673a3faf6f6bd844d7f104fee5128568b15..e37d3092703383a647d14fefb2e1b328c438c342 100644 (file)
@@ -29,7 +29,6 @@
 #include "r300_cs.h"
 #include "r300_emit.h"
 #include "r300_flush.h"
-#include "r300_state_invariant.h"
 
 static void r300_flush(struct pipe_context* pipe,
                        unsigned flags,
@@ -40,6 +39,7 @@ static void r300_flush(struct pipe_context* pipe,
     struct r300_atom *atom;
 
     CS_LOCALS(r300);
+    (void) cs_count;
     /* We probably need to flush Draw, but we may have been called from
      * within Draw. This feels kludgy, but it might be the best thing.
      *
@@ -52,7 +52,6 @@ static void r300_flush(struct pipe_context* pipe,
 
     if (r300->dirty_hw) {
         FLUSH_CS;
-        r300_emit_invariant_state(r300);
         r300->dirty_state = R300_NEW_KITCHEN_SINK;
         r300->dirty_hw = 0;