svga: fix copying non-zero layers of 1D array textures
authorBrian Paul <brianp@vmware.com>
Mon, 2 May 2016 16:33:18 +0000 (10:33 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 3 May 2016 21:40:48 +0000 (15:40 -0600)
commitabc6432d54c4b4b50368f230634ed8a0d2c92e34
tree072e3e9fd2a77034e25dc5bb6d616ae576547ce5
parentb94f73c15066d434e44b60ddddb1d837b841c08f
svga: fix copying non-zero layers of 1D array textures

Like cube maps, we need to convert the z information to a layer index.
Also rename the *_face vars to *_face_layer to make things a little more
understandable.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_pipe_blit.c