nir: clean up white-space in deref-printing
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 14 Apr 2023 11:07:32 +0000 (13:07 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 27 Apr 2023 05:39:57 +0000 (05:39 +0000)
commit0a718c9354c2ed66ccb0f8c70883f2738ee71471
treef8b637538ea0f9b4fb01bd99e8a202f44d264cae
parentd8f3060bd915e6ba6cc01086978d126e70bfea92
nir: clean up white-space in deref-printing

Without this, we get some trailing spaces in some cases, and some
double space in some other cases. Let's clean that up a bit.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22550>
src/compiler/nir/nir_print.c