projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03c9044
)
i965: We always have GLSL, so always use it for tri clears.
author
Eric Anholt
<eric@anholt.net>
Fri, 18 May 2012 18:53:29 +0000
(11:53 -0700)
committer
Eric 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
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_clear.c
b/src/mesa/drivers/dri/i965/brw_clear.c
index
3316351
..
604a680
100644
(file)
--- 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);
}
}