iris: Add finalize_nir
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 7 Sep 2021 20:52:05 +0000 (13:52 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 17 Sep 2021 23:36:08 +0000 (16:36 -0700)
commit897bb9a2225311970b66f7bbcb3385902b0d1e90
tree9a0cf4c1260c13a7908cc29a4d2b938f037cb1aa
parentb042c71ac12762f65981ca499dc989b64b294bd6
iris: Add finalize_nir

Improves performance of SynMark OglDrvShComp by +241.879%±1.01366% (n=5)
on a random KBL desktop that I have.  That seems to put it at about the
same performance as i965, but I did not test that in a statistically
sound way.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12858>
src/gallium/drivers/iris/iris_program.c