radv: add support for non-inverted conditional rendering
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 9 Jul 2018 09:33:28 +0000 (11:33 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 18 Jul 2018 11:44:06 +0000 (13:44 +0200)
commit946cf3f39fce79c692f7eab98196278c3f5ae478
tree316a2afb1797acfaa10bad1bd96e3b5e85abb8c8
parent4d99caf590a40c41d07bb13a0b5c4c87edcc5216
radv: add support for non-inverted conditional rendering

By default, our internal rendering commands are discarded
only if the predicate is non-zero (ie. DRAW_VISIBLE). But
VK_EXT_conditional_rendering also allows to discard commands
when the predicate is zero, which means we have to use a
different flag.

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