From a3967ff441e95289a0a33a4a02ab7cd15b010a51 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 18 May 2012 11:53:29 -0700 Subject: [PATCH] i965: We always have GLSL, so always use it for tri clears. Reviewed-by: Ian Romanick Reviewed-by: Chad Versace --- src/mesa/drivers/dri/i965/brw_clear.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_clear.c b/src/mesa/drivers/dri/i965/brw_clear.c index 331635148f6..604a68037bb 100644 --- a/src/mesa/drivers/dri/i965/brw_clear.c +++ b/src/mesa/drivers/dri/i965/brw_clear.c @@ -188,10 +188,7 @@ intelClear(struct gl_context *ctx, GLbitfield mask) if (tri_mask) { debug_mask("tri", tri_mask); - if (ctx->Extensions.ARB_fragment_shader) - _mesa_meta_glsl_Clear(&intel->ctx, tri_mask); - else - _mesa_meta_Clear(&intel->ctx, tri_mask); + _mesa_meta_glsl_Clear(&intel->ctx, tri_mask); } } -- 2.30.2