ttn: Use nir control flow insertion helpers
authorConnor Abbott <cwabbott0@gmail.com>
Tue, 9 Apr 2019 20:31:50 +0000 (22:31 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 30 Sep 2020 15:47:51 +0000 (15:47 +0000)
commitf103bded0b5b7f1860a1d0be92d19bb248d29fd4
tree17ff87971c61feab394a7832e12ee09cd3c980f8
parentf504eb683d8596326015d18b6fcdfccc8a4ad32e
ttn: Use nir control flow insertion helpers

As a side effect, we can delete the whole control flow stack thing.

v2 (Jason Ekstrand):
 - Drop the ttn_if helper and just inline it in the two uses

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6866>
src/gallium/auxiliary/nir/tgsi_to_nir.c