nir: Add a function for sorting variables
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 6 Nov 2020 23:19:53 +0000 (15:19 -0800)
committerMarge Bot <eric+marge@anholt.net>
Thu, 24 Jun 2021 20:05:13 +0000 (20:05 +0000)
commit81cb20bd17c7ad0ac94f41462685635df25fd16e
tree74f5c0375fe01bb2eba94669b5e1b6f01b47be84
parentcf385cf68c542c2391052d692582bdc0f723dc65
nir: Add a function for sorting variables

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10989>
src/compiler/nir/nir.c
src/compiler/nir/nir.h