radv: compute prim_vertex_count at draw time
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 7 Jul 2020 16:31:58 +0000 (18:31 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 9 Jul 2020 06:31:39 +0000 (06:31 +0000)
commit40526451ca5da669f6d8d11195538e4580d13531
tree3b2b5c6c65b06c7722e27a75d594f7d10b2dcc65
parent972081c6887442746255f5ddd0300317e59aac04
radv: compute prim_vertex_count at draw time

In preparation for the dynamic topology state.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5801>
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/si_cmd_buffer.c