nir: Disallow goto and goto_if in clone and [de]serialize
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 24 Sep 2020 23:55:09 +0000 (18:55 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 30 Sep 2020 15:47:51 +0000 (15:47 +0000)
commit5e2e882270cfb174513bcc9a1e717077a8f39130
treeb720d250eb1c7a1b9cc67a0b72c203c44b0d3e80
parent9a48ed84ecd166d57fb8018401eb5491d8f80bb1
nir: Disallow goto and goto_if in clone and [de]serialize

Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6866>
src/compiler/nir/nir_clone.c
src/compiler/nir/nir_serialize.c