sna: Remove erroneous assertion from sna_tiling_blt_composite
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 6 Nov 2013 15:42:35 +0000 (15:42 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 6 Nov 2013 15:44:33 +0000 (15:44 +0000)
We have to rely on the caller only calling us for a PictOpSrc equivalent
operation as they don't all set op->op.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_tiling.c

index ae9c84b..c856939 100644 (file)
@@ -977,7 +977,6 @@ sna_tiling_blt_composite(struct sna *sna,
                         int bpp,
                         uint32_t alpha_fixup)
 {
-       assert(op->op == PictOpSrc);
        assert(op->dst.bo);
        assert(kgem_bo_can_blt(&sna->kgem, op->dst.bo));
        assert(kgem_bo_can_blt(&sna->kgem, bo));