i965: We always have GLSL, so always use it for tri clears.
authorEric Anholt <eric@anholt.net>
Fri, 18 May 2012 18:53:29 +0000 (11:53 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 23 May 2012 17:18:26 +0000 (10:18 -0700)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/brw_clear.c

index 3316351..604a680 100644 (file)
@@ -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);
    }
 }