radv: skip draws with instance_count == 0
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 9 Jan 2019 09:06:08 +0000 (10:06 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 9 Jan 2019 13:22:38 +0000 (14:22 +0100)
commitb8c4f523b40e3d9dbe1f81f2c69b31618f7a9b62
treee3b112e3bad9323bfc13970c4411a502c0905f89
parenta2b5cc3c39940402e067e10b255226538467a672
radv: skip draws with instance_count == 0

Loosely based on RadeonSI.

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