freedreno/fdl: Add base_align
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 27 Mar 2020 11:00:13 +0000 (12:00 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 31 Mar 2020 08:22:58 +0000 (08:22 +0000)
commitd84c206d85c15cb8bc7e2d3113ab40c2b65f47cc
tree87d69475537f302b5e4cba018374d1f489ff0000
parent896a7c28eb4b993751bb49659de7511b3fc68756
freedreno/fdl: Add base_align

Tell users what the base address of the image needs to be aligned to.
These values are based on experimentation via passing an offset to
vkBindImageMemory with turnip and seeing if tests still pass. Note that
r8g8 is also special in this regard, however it actually has an
increased alignment (in bytes).

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4357>
src/freedreno/fdl/fd6_layout.c
src/freedreno/fdl/freedreno_layout.h