From: Eric Anholt Date: Wed, 21 Sep 2011 16:50:06 +0000 (-0700) Subject: intel: Drop gratuitous flush in PBO blit upload. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=275ce9631b18ea77a160e3201fc3ba5549a462d3;p=mesa.git intel: Drop gratuitous flush in PBO blit upload. Since the blit gets sequenced after other batchbuffer rendering like normal, there's no need to push things out early. Reviewed-by: Kenneth Graunke Reviewed-by: Ian Romanick --- diff --git a/src/mesa/drivers/dri/intel/intel_tex_image.c b/src/mesa/drivers/dri/intel/intel_tex_image.c index 595eeb089ad..37704bcca0e 100644 --- a/src/mesa/drivers/dri/intel/intel_tex_image.c +++ b/src/mesa/drivers/dri/intel/intel_tex_image.c @@ -195,9 +195,6 @@ try_pbo_upload(struct intel_context *intel, dst_stride = intelImage->mt->region->pitch; - if (drm_intel_bo_references(intel->batch.bo, dst_buffer)) - intel_flush(&intel->ctx); - { GLuint offset; drm_intel_bo *src_buffer =