radv: Always reset draw user SGPRs after secondary command buffer.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 9 Apr 2018 14:54:55 +0000 (16:54 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 9 Apr 2018 21:04:42 +0000 (23:04 +0200)
commit41fbcc7901bc7a95fb7d5ccffdb3c18ba0361c40
tree8d461f94b9ab83ffa378fa4c2ef3b4a7f94b0a21
parent74b0b869ddd4dbd36482aa9bec3403d45396af2d
radv: Always reset draw user SGPRs after secondary command buffer.

As we sometimes reset them to -1, -1 does not mean that they are
not written by the secondary command buffer.

Fixes: ad11fc3571 "radv: don't emit unneeded vertex state."
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_cmd_buffer.c