nv30: add support for multi-layer transfers
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 27 Dec 2018 15:24:56 +0000 (10:24 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 31 Dec 2018 04:32:21 +0000 (23:32 -0500)
commitb04c1907c8c9f4fd66ce4e069665f4c40e3d40e0
tree6af1861e4ff533cc0d5752e727aa70ee21cbd9b0
parentb34cfd474961bef6cb245e02a6dba7db0cf12ce6
nv30: add support for multi-layer transfers

This logic mirrors what we do on nv50. The relatively new
texture_subdata callback can cause this to happen with 3D textures,
which is triggered at least by xonotic, and probably many piglits.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv30/nv30_miptree.c