r300/compiler: kill off RC_WRAP_CLAMP
[mesa.git] / src / gallium / drivers / r300 / r300_flush.c
index 70de152713d8b267bdfa606d47ff4da89a5fb3e3..5e61f528b64a68543c66c29b64b176d0ea200ff5 100644 (file)
@@ -52,7 +52,6 @@ static void r300_flush(struct pipe_context* pipe,
 
     if (r300->dirty_hw) {
         FLUSH_CS;
-        r300->dirty_state = R300_NEW_KITCHEN_SINK;
         r300->dirty_hw = 0;
 
         /* New kitchen sink, baby. */
@@ -63,9 +62,9 @@ static void r300_flush(struct pipe_context* pipe,
         }
 
         /* Unmark HWTCL state for SWTCL. */
-        if (!r300_screen(pipe->screen)->caps->has_tcl) {
+        if (!r300->screen->caps.has_tcl) {
             r300->vs_state.dirty = FALSE;
-            r300->dirty_state &= ~R300_NEW_VERTEX_SHADER_CONSTANTS;
+            r300->vs_constants.dirty = FALSE;
         }
     }