freedreno: fix multi-layer transfer_map's
authorRob Clark <robclark@freedesktop.org>
Wed, 11 May 2016 15:28:13 +0000 (11:28 -0400)
committerRob Clark <robclark@freedesktop.org>
Wed, 11 May 2016 16:03:21 +0000 (12:03 -0400)
commit4500d17245d0c4bd0b52bf444cf1d90bab932794
tree63e720263d42bfe98d97add644ad3534bc344ec0
parent9bea01899433ca6a8047b4172ffec6e89afe7625
freedreno: fix multi-layer transfer_map's

The use of transfer_inline_write() in TexSubImage path (see fb9fe352ea4)
exposed a bug for "layer_first" resources (ie. a4xx) not setting correct
layer_stride.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_resource.c