glsl_to_nir: update interface type properly
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 14 Jan 2020 06:12:06 +0000 (17:12 +1100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Jan 2020 01:02:25 +0000 (01:02 +0000)
commitbf830250a70d71acec83df0063a81c4b54713e46
treef07065ad8cd51369dca5d95f8c725d5025b7c3ef
parentd3a4d1775e5e8b193c2c3dc1ab550e6855e158f1
glsl_to_nir: update interface type properly

Since 76ba225184ed the member variable types were being redefined
but we assigned the old interface type to the variable.

In a following patch series we will use the types to check if we
are dealing with an interface instance when apply GLSL linking
rules.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3468>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3468>
src/compiler/glsl/glsl_to_nir.cpp