etnaviv: explicitly set nir_variable_mode
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Mon, 20 Jul 2020 19:40:16 +0000 (21:40 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Jul 2020 13:33:47 +0000 (13:33 +0000)
commit8534f49bf930dc5911fc0d5a23c2c397d63e2489
tree1a9cf21d8b368728cf1e968c8da82e3870c39df3
parent5b300bec9ad78f8a5d946f19aa9a97259a4f034b
etnaviv: explicitly set nir_variable_mode

No functional changes - fixes the following assert:
  nir_lower_io_impl: Assertion `!(modes & ~supported_modes)' failed.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5997>
src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c