radv: fix ia_multi_vgt_param for instanced vs indirect draw.
authorDave Airlie <airlied@redhat.com>
Mon, 27 Mar 2017 19:53:50 +0000 (05:53 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 28 Mar 2017 07:39:55 +0000 (17:39 +1000)
commitae0551b4b3f7ca79148f0cb8384c0f1efc3faac2
tree9b3ba864507dd328bd7a61b3080ce6c5596a09d0
parenta8b8e542c2e9ea97413095993cee5ec8faf2ee16
radv: fix ia_multi_vgt_param for instanced vs indirect draw.

The logic was different than radeonsi, fix it up before adding
tess support.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/si_cmd_buffer.c