radv: Don't set instance count using predication.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 9 Apr 2018 14:53:57 +0000 (16:53 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 9 Apr 2018 21:04:35 +0000 (23:04 +0200)
commit74b0b869ddd4dbd36482aa9bec3403d45396af2d
tree307d30a44cceec27ec7fc45adaadb7818d254d4e
parentd66dc343164c19efe9f42cd32d0b28b40e384ef8
radv: Don't set instance count using predication.

The packet can sometimes be skipped, but we still think the change takes effect.

This just makes the packet always take effect.

Fixes: ad11fc3571 "radv: don't emit unneeded vertex state."
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105942
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_cmd_buffer.c