From 85aff83f3e355f6c258ebab12f6abfc7d9e9984a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 27 Aug 2013 12:33:48 -0700 Subject: [PATCH] i965: Drop extra flush when calling intel_miptree_map_raw(). 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 Reviewed-by: Paul Berry --- src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c index 5f8041fbc75..2f5e04fec4f 100644 --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c @@ -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__, -- 2.30.2