tu: Return the correct alignment for images
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 27 Mar 2020 11:02:59 +0000 (12:02 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 31 Mar 2020 08:22:58 +0000 (08:22 +0000)
commitd63acce5f43b6feb8ae81d62f5c2d6976384d81c
tree1e19f3f1b996d095f7e11aca633d0a053841e601
parentd84c206d85c15cb8bc7e2d3113ab40c2b65f47cc
tu: Return the correct alignment for images

The alignment field was never initialized, so we were just returning an
alignment of 0. Return the alignment from fdl, and while we're here
cleanup some leftovers in tu_private.h.

Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4357>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4357>
src/freedreno/vulkan/tu_device.c
src/freedreno/vulkan/tu_private.h