radv: add some helpers for cleaning up radv_get_preamble_cs()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 17 May 2018 08:11:44 +0000 (10:11 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 17 May 2018 19:28:57 +0000 (21:28 +0200)
commit9b2c310a70c5be08debae3ed5054a5619914ef5d
treebcc581ce44f7ab14f76a477ae33de9403ba426b4
parentf9eb1ef870eba9fdacf9a8cbd815ec3bff81db05
radv: add some helpers for cleaning up radv_get_preamble_cs()

Because this function looks a bit ugly to me.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c