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:
parent
b8229cc5f5
commit
9ef11f13af
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue