summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-05-18 11:53:29 -0700
committerEric Anholt <[email protected]>2012-05-23 10:18:26 -0700
commita3967ff441e95289a0a33a4a02ab7cd15b010a51 (patch)
tree58b2bd8305e772a71cb23d33a3eaa3461574ef5c
parent03c9044c2edf8301779fe5d0173d7e6d1e7ee1c2 (diff)
i965: We always have GLSL, so always use it for tri clears.
Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Chad Versace <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_clear.c5
1 files changed, 1 insertions, 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);
}
}