summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-09-21 09:50:06 -0700
committerEric Anholt <[email protected]>2011-09-22 11:03:24 -0700
commit275ce9631b18ea77a160e3201fc3ba5549a462d3 (patch)
treebe8b6e7d782bf08fe8dd080ee0eadeb3a7af160f /src/mesa
parent3bb536e4c7b7fb0c0a9b18f5ca2d111996b0ddeb (diff)
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 <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/intel/intel_tex_image.c3
1 files changed, 0 insertions, 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 =