turnip: remove extra gmem alignment
authorJonathan Marek <jonathan@marek.ca>
Thu, 18 Jun 2020 03:42:48 +0000 (23:42 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Jul 2020 13:44:42 +0000 (13:44 +0000)
commit1747f9fdd076997698266951407bba3ecca308d0
tree846e8ae96b9d6ad1aaed28db099f9510289efcb4
parent8534f49bf930dc5911fc0d5a23c2c397d63e2489
turnip: remove extra gmem alignment

Now that we clear the PITCHALIGN" field when filling GMEM input attachment
descriptors, we can get rid of the extra tile width alignment on a630/a640.

With the "block_align_shift" value change, this brings down the default
gmem_align from 16k to 4k on a630/a640 and down from 24k to 12k on a650,
to match the gallium driver.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5528>
src/freedreno/vulkan/tu_device.c
src/freedreno/vulkan/tu_pass.c