radv: Set both compute and graphics SGPRS on descriptor set flush.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 2 Jun 2017 21:51:50 +0000 (23:51 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 3 Jun 2017 20:24:37 +0000 (22:24 +0200)
commit5fb8bb306534d633ceb4e33d89984718326773ba
tree46cf7f1bc5da2ce63597ad9a4376750ed3efac15
parent8d07cb125c6afc11b6b8c7a97ec848868814b1d6
radv: Set both compute and graphics SGPRS on descriptor set flush.

We clear the descriptors_dirty array afterwards, so the SGPRs for
the other pipeline don't get updated on the flush for that other
draw/dispatch, so we have to make sure we do it immediately.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Fixes: ae61ddabe8c "radv: move userdata sgpr ownership to compiler side."
src/amd/vulkan/radv_cmd_buffer.c