i915g: Add finalize_nir.
authorEmma Anholt <emma@anholt.net>
Sun, 1 Aug 2021 17:23:51 +0000 (10:23 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 6 Sep 2021 18:09:25 +0000 (18:09 +0000)
commit1b4b9a9eff9a82804fc110b2749eecfb95f1eb3e
tree4340df7003dcc8ae2f7e6388ee979c0719329542
parent682d08a6ea49cf1f375c1e72b0cd2ce866c29ed3
i915g: Add finalize_nir.

This allows mesa/st to do some more optimization of state variables, but
more importantly it will be what we use to do GLSL link-time errors for
loops.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12218>
src/gallium/drivers/i915/i915_screen.c