turnip: move some logic out of create_render_pass_common
authorJonathan Marek <jonathan@marek.ca>
Sat, 13 Jun 2020 02:12:51 +0000 (22:12 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 24 Jun 2020 22:12:33 +0000 (22:12 +0000)
commit64c2a10707f8296944160284bf62d0e6bf7a27d9
tree2a33a0dbb871270e615401df7170bd3765a6d2e5
parentc9c76f6832062204683ece8c7d7dfaf7cc06b0e0
turnip: move some logic out of create_render_pass_common

CreateRenderPass2 is the common path now, it doesn't make sense to have a
create_render_pass_common. Rename it to tu_render_pass_gmem_config and
move logic not related to gmem config out of it.

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