nir: Reorder nir_scopes so wider scope has larger numeric value
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 21 Feb 2020 18:46:29 +0000 (10:46 -0800)
committerMarge Bot <eric+marge@anholt.net>
Thu, 12 Mar 2020 19:21:36 +0000 (19:21 +0000)
commitd31a8ed8fd560fd71be10956d09987dc47f20a01
tree5a6e5203259e15553fe1375f045c7296f7fb7cd0
parent67fc88fbb9af53924dbaf8634ec7b1fb069ec340
nir: Reorder nir_scopes so wider scope has larger numeric value

Makes code comparing and combining scopes slightly more readable.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3224>
src/compiler/nir/nir.h