From 09e041d61d367ff3a9e8492521606090050255d4 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 12 May 2016 14:07:51 -0700 Subject: i965: Use blorp for all clears We used to use a meta path on gen8 but we haven't since c7cf17ae758. We might as well delete the meta path since blorp works on all gens. Reviewed-by: Topi Pohjolainen --- src/mesa/drivers/dri/i965/brw_clear.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/mesa/drivers/dri/i965/brw_clear.c') diff --git a/src/mesa/drivers/dri/i965/brw_clear.c b/src/mesa/drivers/dri/i965/brw_clear.c index d57b67737a3..1dfff090c08 100644 --- a/src/mesa/drivers/dri/i965/brw_clear.c +++ b/src/mesa/drivers/dri/i965/brw_clear.c @@ -248,14 +248,6 @@ brw_clear(struct gl_context *ctx, GLbitfield mask) } } - /* Clear color buffers with fast clear or at least rep16 writes. */ - if (brw->gen >= 6 && (mask & BUFFER_BITS_COLOR)) { - if (brw_meta_fast_clear(brw, fb, mask, partial_clear)) { - debug_mask("blorp color", mask & BUFFER_BITS_COLOR); - mask &= ~BUFFER_BITS_COLOR; - } - } - GLbitfield tri_mask = mask & (BUFFER_BITS_COLOR | BUFFER_BIT_STENCIL | BUFFER_BIT_DEPTH); -- cgit v1.2.3