turnip: Convert renderpass setup to the new register packing macros.
authorEric Anholt <eric@anholt.net>
Fri, 17 Jan 2020 22:02:37 +0000 (14:02 -0800)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Jan 2020 22:46:09 +0000 (22:46 +0000)
commitd67100519ebf138695b14cb6bec461237dee14ba
treeddaaf1259d0f39c7b283c694276a728b1ebbfb48
parent08837ea3d238b88866e7a767923e05e754db8d5a
turnip: Convert renderpass setup to the new register packing macros.

This gets a lot of the hard code converted over to the new macros,
resulting in (I feel) much more readable code with
LESS_SHOUTING_ABOUT_THE_REG().  I decided to consistently put the reg on
its own line, so that all the register names line up.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3455>
src/freedreno/vulkan/tu_cmd_buffer.c
src/freedreno/vulkan/tu_private.h