diff options
author | Eric Anholt <eric@anholt.net> | 2016-01-21 16:01:14 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2016-01-29 18:12:44 -0800 |
commit | 9ef11f13af7f552dadb4a90c248e525a257e0a2c (patch) | |
tree | 148e637d9ccea26d0f927e929df4186cc81cba8b /glamor/glamor_render.c | |
parent | b8229cc5f5298a37a4735dd002b0e0ebfc8bc75a (diff) |
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>
Diffstat (limited to 'glamor/glamor_render.c')
-rw-r--r-- | glamor/glamor_render.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/glamor/glamor_render.c b/glamor/glamor_render.c index 5712cf841..51718d1c7 100644 --- a/glamor/glamor_render.c +++ b/glamor/glamor_render.c @@ -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 |