gallivm: misc clean-ups in lp_bld_nir.c
authorBrian Paul <brianp@vmware.com>
Wed, 7 Dec 2022 20:26:55 +0000 (13:26 -0700)
committerMarge Bot <emma+marge@anholt.net>
Fri, 9 Dec 2022 04:00:54 +0000 (04:00 +0000)
commitf3d2d076ed07c6574141a910a1cd53c6ba1db73d
tree86daf4826ee22041f7f7472190d1f1a9e544545f
parentd44c4b1e0ee9e9085afdfa4bd2ff489749c0a9a1
gallivm: misc clean-ups in lp_bld_nir.c

Use switch instead of if/else. Add some braces. 80-column wrapping, etc.

Signed-off-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20211>
src/gallium/auxiliary/gallivm/lp_bld_nir.c