i965: Use GTT maps when available to upload vertex arrays and system VBOs.
[mesa.git] / src / mesa / drivers / dri / i965 / brw_state_batch.c
index 77e2736d11115ca32889aa52958fbcc0029e3747..811940edc0524b0fde8f57e41de36a0fa9706210 100644 (file)
@@ -33,7 +33,7 @@
 
 #include "brw_state.h"
 #include "intel_batchbuffer.h"
-#include "imports.h"
+#include "main/imports.h"
 
 
 
@@ -97,10 +97,6 @@ void brw_clear_batch_cache_flush( struct brw_context *brw )
 {
    clear_batch_cache(brw);
 
-   brw->wrap = 0;
-   
-/*    brw_do_flush(brw, BRW_FLUSH_STATE_CACHE|BRW_FLUSH_READ_CACHE); */
-   
    brw->state.dirty.mesa |= ~0;
    brw->state.dirty.brw |= ~0;
    brw->state.dirty.cache |= ~0;