intel/compiler: Use NIR_PASS(_, ...)
authorJason Ekstrand <jason.ekstrand@collabora.com>
Mon, 13 Jun 2022 17:38:42 +0000 (12:38 -0500)
committerMarge Bot <emma+marge@anholt.net>
Mon, 13 Jun 2022 22:31:25 +0000 (22:31 +0000)
commit844a70f4391d12f9c6f408ad8d9e1390cd507034
tree7a3a2f6aa4c09e50e03463b4db7467091baaa898
parent65bafa2a35aca4117bf43e79eed9b981f9764237
intel/compiler: Use NIR_PASS(_, ...)

I don't know when this was added but it's really neat and we should use
it instead of NIR_PASS_V since NIR_DEBUG=print and a few validation
things will work better.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17014>
src/intel/compiler/brw_nir.c