From: Eric Anholt Date: Fri, 18 May 2012 18:53:29 +0000 (-0700) Subject: i965: We always have GLSL, so always use it for tri clears. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a3967ff441e95289a0a33a4a02ab7cd15b010a51;p=mesa.git i965: We always have GLSL, so always use it for tri clears. Reviewed-by: Ian Romanick Reviewed-by: Chad Versace --- 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); } }