nv30: Fix color resolving for nv3x cards
authorHans de Goede <hdegoede@redhat.com>
Wed, 9 Sep 2015 13:52:08 +0000 (15:52 +0200)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 9 Sep 2015 15:57:34 +0000 (11:57 -0400)
commitac066bf65cb585a4f6b4a2fb1d055b033f2b94ae
tree2ff41d06d10f4509b822433964dd519008820226
parent30a915bd174a4a4dd950870eca19dde45bbd524b
nv30: Fix color resolving for nv3x cards

We do not have a generic blitter on nv3x cards, so we must use the
sifm object for color resolving.

This commit divides the sources and dest surfaces in to tiles which
match the constraints of the sifm object, so that color resolving
will work properly on nv3x cards.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "11.0" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nv30/nv30_miptree.c