freedreno: turn staging cube into 2d-array
authorRob Clark <robdclark@chromium.org>
Wed, 12 Jun 2019 20:36:18 +0000 (13:36 -0700)
committerRob Clark <robdclark@chromium.org>
Thu, 13 Jun 2019 15:56:27 +0000 (08:56 -0700)
commita8be53211d753b362273b8ab90029edee3ba62cd
tree2e377bc679e794074cc7ff93d6e243a59079ecb6
parent3adf9b07578a6c592ef3ce4e0301d270c0601348
freedreno: turn staging cube into 2d-array

Since we could only need a subset of the layers, and otherwise we
trigger an assert in util_max_layer()

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