turnip: improve GMEM load/store logic
authorJonathan Marek <jonathan@marek.ca>
Thu, 9 Apr 2020 23:32:19 +0000 (19:32 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Apr 2020 17:45:33 +0000 (17:45 +0000)
commit44c6c145daadf618607abb997f20608e820daee0
treeb652082698fd92c65e124169c8f3e48f59eb45af
parente72201c7873ea22dadf8d1775f97400a435a8b9a
turnip: improve GMEM load/store logic

Determine load/store at renderpass creation time.

This also fixes behavior with S8_UINT.

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