radv: fix emitting the view index on GFX9
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 5 Jul 2018 16:56:55 +0000 (18:56 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 6 Jul 2018 08:22:53 +0000 (10:22 +0200)
commit85865dbe0d96f18ac768b4063da94f52ee67a7fd
treeaf5d89133ba981e8532c34234fb7a81c9075f491
parent965a06dbd7401fb319b6f85ca55c9687a05335f1
radv: fix emitting the view index on GFX9

For merged shaders, VS as HS for example.

Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c