radv: ensure correct outinfo is picked.
authorDave Airlie <airlied@redhat.com>
Fri, 20 Oct 2017 03:02:15 +0000 (04:02 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Oct 2017 04:44:09 +0000 (14:44 +1000)
commit99281c1e8f449e9d500e886ef14b422715f4efc7
treedb86353fe938f635df52fa14ffeb17c412d98238
parentf9d239e11fe044de0e977fd1d3a62d9f6a92e49d
radv: ensure correct outinfo is picked.

This struct used to rely on being in a union, it isn't anymore,
so we have to pick the correct outinfo struct now.

This should fix a regression since the union became a struct.

dEQP-VK.tessellation.geometry_interaction.point_size.vertex_set_geometry_set

Fixes: 6078a3bd51 (ac/nir: Allow ac_shader_variant_info to contain info about multiple stages.)
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_pipeline.c