nir: Use a switch in nir_inline_function_impl
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 20 Aug 2020 19:42:30 +0000 (14:42 -0500)
committerMarge Bot <eric+marge@anholt.net>
Sat, 29 Aug 2020 18:32:46 +0000 (18:32 +0000)
commitb6f31898a24adda853d8ac2ce3dff211a819c1cf
tree36997d2cace9ea6e8cef0a173155c0f251a102b0
parentb7db9ee320fac97cd890f1fb331e6c8059069461
nir: Use a switch in nir_inline_function_impl

Acked-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6411>
src/compiler/nir/nir_inline_functions.c