radv: set the predicate for indirect/indexed draw commands
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 9 Jul 2018 09:16:43 +0000 (11:16 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 18 Jul 2018 11:44:04 +0000 (13:44 +0200)
commit4d99caf590a40c41d07bb13a0b5c4c87edcc5216
tree53270c2d6f4f464899499c38e1b1c9694778c912
parent1e83f6567342e652880d8678d2dade834766e2ee
radv: set the predicate for indirect/indexed draw commands

VK_EXT_conditional_rendering allows to discard draw commands
(not only normal draws).

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