nir/lower_explicit_io: fix NON_UNIFORM access for UBO loads
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 3 Jun 2020 12:35:02 +0000 (14:35 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 8 Jun 2020 07:35:43 +0000 (07:35 +0000)
commit86f21e4eba7ad980109f13bd5480c02593ca19fe
tree2440f52cec65985b15e6f35bb80e665d4dc15e2f
parentb38d3cdceab07803a7dd81f8870a892fd82a077c
nir/lower_explicit_io: fix NON_UNIFORM access for UBO loads

Make sure to propagate the NON_UNIFORM access for UBO loads, so
that non-uniform loads are correctly lowered.

Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5311>
src/compiler/nir/nir_lower_io.c