zink: add a pipe_screen::finalize_nir hook
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 29 Dec 2020 16:32:18 +0000 (11:32 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 8 Apr 2021 03:00:47 +0000 (03:00 +0000)
commitb47815c772e220ad2e0333b8954640c3874b8da2
treeaba3881c38db856dc47bcad95d780a38269cb393
parent193c02e0cfcf832e4556ada5de251f32e6ca4768
zink: add a pipe_screen::finalize_nir hook

moves some of the always-run passes into the base nir

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9888>
src/gallium/drivers/zink/zink_compiler.c
src/gallium/drivers/zink/zink_compiler.h
src/gallium/drivers/zink/zink_screen.c