radv: use optimal packet order for draws
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 17 Oct 2017 07:47:53 +0000 (09:47 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 20 Oct 2017 18:07:53 +0000 (20:07 +0200)
commit341529dbee5c2b17fdcb7990484a383459bed305
tree0c59e373b7811225ca8b6d63be9065f05fa8930e
parentaf6985b309ccaef4b055728aaba08cf233542990
radv: use optimal packet order for draws

Ported from RadeonSI. The time where shaders are idle should
be shorter now. This can give a little boost, like +6% with
the dynamicubo Vulkan demo.

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