spirv: Stop counting inputs in entry_point_wrapper
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 1 Sep 2020 01:09:42 +0000 (20:09 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 3 Sep 2020 18:02:50 +0000 (18:02 +0000)
commite1ed5a12c5161cbd06d7a4a4897432a0f7690ffa
tree22f4c3a60ea4f61a5b3df0af954e6dc4f2087096
parent8bea5aaa149a349af55552f47dc248a327ea7929
spirv: Stop counting inputs in entry_point_wrapper

nir_shader::num_inputs isn't supposed to be a count of how many input
variables we have.  It's a size of the lowered input space.

Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6472>
src/compiler/spirv/spirv_to_nir.c