nir: Use a switch statement in nir_handle_add_jump
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 15 May 2020 20:31:50 +0000 (15:31 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 19 May 2020 17:21:23 +0000 (17:21 +0000)
commitd011fbde5ceda9924bae389278e8a278eb2dd2cf
tree28dd7e166ec468a83367b78d29c3759e5e9a3db0
parent8c87082c940ddba90e7bd0aefdf834eb2c335a74
nir: Use a switch statement in nir_handle_add_jump

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5101>
src/compiler/nir/nir_control_flow.c