[Mesa-dev] [PATCH 03/12] i965: We always use have GLSL, so always use it for tri clears.

Ian Romanick idr at freedesktop.org
Tue May 22 11:56:12 PDT 2012


I don't think you meant "always use have" in the commit message. :)

On 05/22/2012 10:21 AM, Eric Anholt wrote:
> ---
>   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 3316351..604a680 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);
>      }
>   }
>



More information about the mesa-dev mailing list