nir: fix nir_sweep for printf
authorKarol Herbst <kherbst@redhat.com>
Sat, 19 Mar 2022 15:36:46 +0000 (16:36 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 21 Mar 2022 13:23:04 +0000 (13:23 +0000)
commit43c3f4386bf290d48877a42f741e31b34c902d92
treef1b495619ddfed2129070fdb7e28f987f0936c20
parent44555e7f2cf79b50f0d0f648ef17a553301512c2
nir: fix nir_sweep for printf

I hit a memory corruption trying to implement printf for Rusticl

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15474>
src/compiler/nir/nir_sweep.c