sna/gen6+: Only substitute SRC for CLEAR if using the correct source
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 13 Nov 2013 16:25:54 +0000 (16:25 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 14 Nov 2013 12:07:47 +0000 (12:07 +0000)
commitaa5a5684ebada60a1b103624a9b49aa085a406c1
tree6a503c3a6f337ae3b4905e7ceee6889753bf56a5
parent97e684ab3c887c1992733d0031f0256e9692d452
sna/gen6+: Only substitute SRC for CLEAR if using the correct source

If the source has not been verified to be clear, then using the SRC
operator will paint the wrong color.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/gen6_render.c
src/sna/gen7_render.c
src/sna/sna_trapezoids_boxes.c
src/sna/sna_trapezoids_mono.c