aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorXiang, Haihao <[email protected]>2011-01-05 13:32:40 +0800
committerXiang, Haihao <[email protected]>2011-01-05 14:12:40 +0800
commit266d8eed6927650a55974a293959fe21073030bb (patch)
treea7a153ae3bc82c024f36ea03cad0cc497280d05f /src/mesa
parent06cb1a6a5bdba5654408e3568584e1ab168266b7 (diff)
i965: use BLT to clear buffer if possible on Sandybridge
This fixes https://bugs.freedesktop.org/show_bug.cgi?id=32713
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/intel/intel_clear.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_clear.c b/src/mesa/drivers/dri/intel/intel_clear.c
index 84729111d58..82d29e76712 100644
--- 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;