mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 18:50:10 +01:00
i965: We always have GLSL, so always use it for tri clears.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
This commit is contained in:
parent
03c9044c2e
commit
a3967ff441
1 changed files with 1 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue