radv: reset dirty flags after flushing all states
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 18 Oct 2017 12:09:27 +0000 (14:09 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 18 Oct 2017 19:21:48 +0000 (21:21 +0200)
commit535aa43df0c32828e12714faf5cf6e30a4c28402
treee741b0ad278d7bb86c4b397ec8c670c9c1d045b4
parent966d66f28f317bb14c21f89ef9899dbfba9787a4
radv: reset dirty flags after flushing all states

Move it to radv_cmd_buffer_flush_state() because if
rasterizerDiscardEnable is true, the flags are not cleared.

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