spirv: fill info.gs.input_primitive too
authorAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 23 Oct 2017 15:19:34 +0000 (17:19 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 13 Aug 2018 10:56:51 +0000 (12:56 +0200)
commit624c00f1a6fd6e09fc5101a735a2c88e098ee675
tree91cf567c581cab006c69d4bd5a712d743e50ac1d
parented94a5799db7a2628687410c58d33f604df63d80
spirv: fill info.gs.input_primitive too

info.gs.output_primitive was already being filled. Not sure why this
is not needed on Vulkan, but we found to be needed for
ARB_gl_spirv. Specifically, this is needed to get the following test
passing:

KHR-GL45.gl_spirv.spirv_validation_builtin_variable_decorations_test

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/spirv/spirv_to_nir.c