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

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Eric Anholt 2016-01-21 16:01:14 -08:00
parent b8229cc5f5
commit 9ef11f13af

View File

@ -1577,8 +1577,10 @@ glamor_composite(CARD8 op,
if (!glamor_pixmap_has_fbo(dest_pixmap)) if (!glamor_pixmap_has_fbo(dest_pixmap))
goto fail; 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; goto fail;
}
if (mask && mask->componentAlpha && !glamor_priv->has_dual_blend) { if (mask && mask->componentAlpha && !glamor_priv->has_dual_blend) {
if (op == PictOpAtop if (op == PictOpAtop