[Mesa-dev] [PATCH 03/12] i965: We always use have GLSL, so always use it for tri clears.
Eric Anholt
eric at anholt.net
Tue May 22 10:21:44 PDT 2012
---
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);
}
}
--
1.7.10
More information about the mesa-dev
mailing list