nir: fix lowering to scratch with boolean access
authorRhys Perry <pendingchaos02@gmail.com>
Tue, 26 May 2020 17:08:17 +0000 (18:08 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 26 May 2020 18:54:17 +0000 (18:54 +0000)
commit8e2009c4481434f1b97713d8a0ec193fdccb65a6
treefff0764315015b9b0d54ac0227c75d62a2c7f002
parente369b8931c675a6e86715c682723b085e45e0ee5
nir: fix lowering to scratch with boolean access

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Fixes: 18ed82b084c79bf63666f2da22e5d675fb01aa26
   ('nir: Add a pass for selectively lowering variables to scratch space')

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5214>
src/compiler/nir/nir_lower_scratch.c