radv: refactor simple and indexed draws with radv_draw_info
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 13 Oct 2017 15:34:35 +0000 (17:34 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 20 Oct 2017 09:20:05 +0000 (11:20 +0200)
commit03afa95d9fb6045ef9e85b4584a89a00e13391fb
treecfba9bd74fc73529ffe5581e1b546713888b1bca
parent54fa635f82478a63908dbaf206465a347616fed0
radv: refactor simple and indexed draws with radv_draw_info

Similar to the dispatch compute logic but for draw calls. For
convenience, indirect draws will be converted in a separate
patch.

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