[Mesa-dev] [PATCH 3/3] intel: Re-allow blitting glCopyBufferSubData() on gen >= 6.

Eric Anholt eric at anholt.net
Wed Dec 28 11:14:09 PST 2011


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.
---
 src/mesa/drivers/dri/intel/intel_buffer_objects.c |    2 +-
 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 9b1f642..03dd179 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.
        */
-- 
1.7.7.3



More information about the mesa-dev mailing list