nv50,nvc0: fix 3d blits with mipmap levels
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 18 May 2014 02:48:58 +0000 (22:48 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 21 May 2014 13:31:16 +0000 (09:31 -0400)
commit28360fcad75a6917db6af42fb17b81572850ec0d
tree5e4559521c0a9f7fc66032a33b267a24146651be
parentd2a3de19c6aa5881228734c73df706483a4aecf9
nv50,nvc0: fix 3d blits with mipmap levels

Make sure to normalize the z coordinates as well as the x/y ones when
there are mipmaps present. Fixes 3d mipmap generation, which now uses
the blit path.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
src/gallium/drivers/nouveau/nv50/nv50_surface.c
src/gallium/drivers/nouveau/nvc0/nvc0_surface.c