OSDN Git Service

nv30: Implement color resolve for msaa
authorHans de Goede <hdegoede@redhat.com>
Thu, 3 Sep 2015 10:38:01 +0000 (12:38 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 6 Sep 2015 18:05:03 +0000 (19:05 +0100)
commitfcdaa190e558241607595d91cb1e6aa9e28746fc
treeeea04ed402a443fa9fb65d7a7fa26ee7e617a998
parent0abcd9c8fcc74428299630fa96bc51551b952324
nv30: Implement color resolve for msaa

Note this is not ideal. Since the sifm can only do source sizes upto
1024x1024 we end up using the blitter on nv4x, which is not that fast.

And on nv3x we end up using the cpu which is really slow.

Cc: "10.6 11.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
(cherry picked from commit 3c6c4d4f298ec81fe57992790a68aaab2e573519)
src/gallium/drivers/nouveau/nv30/nv30_miptree.c
src/gallium/drivers/nouveau/nv30/nv30_resource.h