freedreno/a3xx: use the same layer size for all slices
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 13 Mar 2015 04:53:49 +0000 (00:53 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 13 Mar 2015 20:05:16 +0000 (16:05 -0400)
commit89b26d5a360ebde11a69f2cdefa66e4d6a2a13fd
tree959ff00aed1abf8c575f094ea10963098c0fdedd
parente76a8dc8ed8af9ea9c99ff4f84948fa834317ee9
freedreno/a3xx: use the same layer size for all slices

We only program in one layer size per texture, so that means that all
levels must share one size. This makes the piglit test

bin/texelFetch fs sampler2DArray

have the same breakage as its non-array version instead of being
completely off, and makes

bin/ext_texture_array-gen-mipmap

start passing.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.4 10.5" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_resource.c