i965: Drop extra flush when calling intel_miptree_map_raw().
authorEric Anholt <eric@anholt.net>
Tue, 27 Aug 2013 19:33:48 +0000 (12:33 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 30 Aug 2013 18:30:44 +0000 (11:30 -0700)
The code that got replaced with map_raw didn't do the flush, but now
map_raw() is responsible for it and we don't have to worry about it.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c

index 5f8041fbc75c960c550fa1f22a098a0aaeac76f6..2f5e04fec4f5dae2a294e5c439ebfb12eee67158 100644 (file)
@@ -1735,7 +1735,6 @@ intel_miptree_map_blit(struct brw_context *brw,
       goto fail;
    }
 
-   intel_batchbuffer_flush(brw);
    map->ptr = intel_miptree_map_raw(brw, map->mt);
 
    DBG("%s: %d,%d %dx%d from mt %p (%s) %d,%d = %p/%d\n", __FUNCTION__,