projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06cb1a6
)
i965: use BLT to clear buffer if possible on Sandybridge
author
Xiang, Haihao
<haihao.xiang@intel.com>
Wed, 5 Jan 2011 05:32:40 +0000
(13:32 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Wed, 5 Jan 2011 06:12:40 +0000
(14:12 +0800)
This fixes https://bugs.freedesktop.org/show_bug.cgi?id=32713
src/mesa/drivers/dri/intel/intel_clear.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_clear.c
b/src/mesa/drivers/dri/intel/intel_clear.c
index 84729111d58281554277d112d786b2d64778a864..82d29e76712b0c94f6caafa5cfa059e6f848054e 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_clear.c
+++ b/
src/mesa/drivers/dri/intel/intel_clear.c
@@
-169,12
+169,6
@@
intelClear(struct gl_context *ctx, GLbitfield mask)
}
}
- if (intel->gen >= 6) {
- /* Blits are in a different ringbuffer so we don't use them. */
- tri_mask |= blit_mask;
- blit_mask = 0;
- }
-
/* Anything left, just use tris */
tri_mask |= mask & ~blit_mask;