radv: add radv_cmd_buffer_begin_subpass() helper
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 29 Jan 2019 21:18:49 +0000 (22:18 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 4 Feb 2019 12:17:50 +0000 (13:17 +0100)
commit291a9337860fb9ed9a89310f618db212cee53ab8
treea28e132299f7708856d86633134d760ed825a7af
parent41199e2eebd4f98d34920a6310ce940a75ef6345
radv: add radv_cmd_buffer_begin_subpass() helper

To unify some code in BeginRenderPass() and NextSubpass().
Based on Intel ANV driver.

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