OSDN Git Service

nv30: Fix color resolving for nv3x cards
authorHans de Goede <hdegoede@redhat.com>
Wed, 9 Sep 2015 13:52:08 +0000 (15:52 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 11 Sep 2015 18:19:31 +0000 (19:19 +0100)
commitb3dfd67feb21ff6ca15cfd1b57623d5b09cb2238
treef816d7da73e9b43d5bcb52015d40634de29c37e6
parent017085efafa5196ac77afffff051b06bcdeb9b07
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>
(cherry picked from commit ac066bf65cb585a4f6b4a2fb1d055b033f2b94ae)
src/gallium/drivers/nouveau/nv30/nv30_miptree.c