nir: make intrinsic order in nir_print consistent
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 14 Sep 2020 18:51:41 +0000 (19:51 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 26 Nov 2020 17:50:38 +0000 (17:50 +0000)
commit313db572b7ac6c4798ad1d15be3eefe8167bab87
treeddf80c3fce12671d1c807098159a02d520b4b994
parentfb0385b57cc1a7c752f83275b419f010b1337ea3
nir: make intrinsic order in nir_print consistent

Make it consistent with nir_intrinsics.py, the unlabelled indices just
before it and the intrinsic builders.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6587>
src/compiler/nir/nir.h
src/compiler/nir/nir_intrinsics_c.py
src/compiler/nir/nir_print.c