nir/clone: Clone nir_def nor nir_dest
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Sat, 12 Aug 2023 23:53:12 +0000 (18:53 -0500)
committerMarge Bot <emma+marge@anholt.net>
Sun, 13 Aug 2023 17:12:52 +0000 (17:12 +0000)
commit9cd9115d87b7eb4f1ed7ad12af06e7935187fdd4
tree54b77b281d13a10d476b7e29026cf77f36a62f0f
parentd2c4749986c5fc7d4eccb738ef4f3bdad036a1a8
nir/clone: Clone nir_def nor nir_dest

This both gets rid of its use of nir_ssa_dest_init() but also will make
it easier to mechanically remove nir_dest entirely later.

Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24658>
src/compiler/nir/nir_clone.c