Commit 9ef11f13 authored by Eric Anholt's avatar Eric Anholt

glamor: Clarify when Render fallbacks happen due to an unsupported op.

Signed-off-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
parent b8229cc5
......@@ -1577,8 +1577,10 @@ glamor_composite(CARD8 op,
if (!glamor_pixmap_has_fbo(dest_pixmap))
goto fail;
if (op >= ARRAY_SIZE(composite_op_info))
if (op >= ARRAY_SIZE(composite_op_info)) {
glamor_fallback("Unsupported composite op %x\n", op);
goto fail;
}
if (mask && mask->componentAlpha && !glamor_priv->has_dual_blend) {
if (op == PictOpAtop
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment