From 275ce9631b18ea77a160e3201fc3ba5549a462d3 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 21 Sep 2011 09:50:06 -0700 Subject: [PATCH] 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 --- src/mesa/drivers/dri/intel/intel_tex_image.c | 3 --- 1 file changed, 3 deletions(-) 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 = -- 2.30.2