projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8aa7fa7
)
intel: Re-allow blitting glCopyBufferSubData() on gen >= 6.
author
Eric Anholt
<eric@anholt.net>
Wed, 28 Dec 2011 01:16:10 +0000
(17:16 -0800)
committer
Eric Anholt
<eric@anholt.net>
Wed, 4 Jan 2012 17:51:17 +0000
(09:51 -0800)
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 <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_buffer_objects.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_buffer_objects.c
b/src/mesa/drivers/dri/intel/intel_buffer_objects.c
index 9b1f642c0f184ec3a34e1da7d2cbc7d11afb209b..03dd179ee0b208b366ca52782c315bdb70fb0d86 100644
(file)
--- 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.
*/