From: Eric Anholt Date: Tue, 27 Aug 2013 19:33:48 +0000 (-0700) Subject: i965: Drop extra flush when calling intel_miptree_map_raw(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=85aff83f3e355f6c258ebab12f6abfc7d9e9984a;p=mesa.git 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 --- 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__,