sna/gen2+: Remove assertion on draw->type for fills
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 16 Jul 2014 06:19:03 +0000 (07:19 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 16 Jul 2014 06:19:03 +0000 (07:19 +0100)
commit34ada63118680bf8ad2ef737fd4a8edfd8246e37
treea6dea74238aecfff674595b0f404389cb6614ad9
parent4422b1854209a2cdf023c1fbc60834fde2fbc0c7
sna/gen2+: Remove assertion on draw->type for fills

I overlooked the tiling-fill path passing down a temporary DrawableRec
into the fill_boxes callback - invalidating the assertion.

Fixes regression from
commit 43176b9bfafe389c4b9ed676f4e50e3b06f858c4
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Jun 30 21:01:11 2014 +0100

    sna/dri2: Pass around the correct DrawableRec for sampling from the foriegn bo

Reported-by: Jiri Slaby <jirislaby@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70461#c62
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/gen2_render.c
src/sna/gen3_render.c
src/sna/gen4_render.c
src/sna/gen5_render.c
src/sna/gen6_render.c
src/sna/gen7_render.c
src/sna/gen8_render.c
src/sna/sna_render.c