radv: Don't reset cmd_buffer->state.dirty.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 21 Oct 2017 16:20:24 +0000 (18:20 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 21 Oct 2017 18:00:16 +0000 (20:00 +0200)
commit20fb15bfe4888c8a09e3ace668caeb9e805e350e
treed8181f2708fa6b13d1de19a9a504a8a731d55a30
parentfb55477990e417f3a5e80d91e9e0dbb7bf2f71a6
radv: Don't reset cmd_buffer->state.dirty.

Otherwise for non-indexed draws we set and immediately unset
RADV_CMD_DIRTY_INDEX_BUFFER. As all the set functions should
clear their own bit, this is unnecessary.

Fixes: 341529dbee5 'radv: use optimal packet order for draws'
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_cmd_buffer.c