radv: Don't explicitly reference vertex shader for draw_id.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 21 Oct 2017 16:23:47 +0000 (18:23 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 21 Oct 2017 18:00:22 +0000 (20:00 +0200)
commit050f7e2df2ea4230320952f16e9f9558bcf6d5d3
tree9a3b5eb7ec7d684c76caf46ec30013477c0dc06f
parent20fb15bfe4888c8a09e3ace668caeb9e805e350e
radv: Don't explicitly reference vertex shader for draw_id.

With merged shaders the vertex shader may not exist. This got in
because the offending patch was written before merged shaders were
upstream, but committed after.

Fixes: 75dfab24a2c 'radv: refactor indirect draws with radv_draw_info'
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_cmd_buffer.c