summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-12-27 17:16:10 -0800
committerEric Anholt <[email protected]>2012-01-04 09:51:17 -0800
commit43f12e5eb8dbbe57344188ab7cacab8c7fe91da1 (patch)
tree8815326dd8dbc9d207287f230135d2e623e97b71 /src
parent8aa7fa770c4ae7660b37ea9d8f496bd6e62d3df8 (diff)
intel: Re-allow blitting glCopyBufferSubData() on gen >= 6.
This was disabled a year ago due to not having a story for handling the blitter at the time. We're fine with using the blitter now. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/intel/intel_buffer_objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_buffer_objects.c b/src/mesa/drivers/dri/intel/intel_buffer_objects.c
index 9b1f642c0f1..03dd179ee0b 100644
--- a/src/mesa/drivers/dri/intel/intel_buffer_objects.c
+++ b/src/mesa/drivers/dri/intel/intel_buffer_objects.c
@@ -657,7 +657,7 @@ intel_bufferobj_copy_subdata(struct gl_context *ctx,
return;
/* If we're in system memory, just map and memcpy. */
- if (intel_src->sys_buffer || intel_dst->sys_buffer || intel->gen >= 6) {
+ if (intel_src->sys_buffer || intel_dst->sys_buffer) {
/* The same buffer may be used, but note that regions copied may
* not overlap.
*/