radv: only calculate num_prims when required.
authorDave Airlie <airlied@redhat.com>
Mon, 11 Sep 2017 05:55:17 +0000 (06:55 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 11 Sep 2017 22:55:15 +0000 (23:55 +0100)
commit16eac0a7569cb7c6c3ad033260ead1cc378f79cd
treea60bcb4d76c252e2051e4ec96a63d6e896112f57
parent6cc545b2128f3ddfb4963b820350f0e9585557f4
radv: only calculate num_prims when required.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/si_cmd_buffer.c