r600/sfn: Delete final lowered nir shader early
authorGert Wollny <gert.wollny@collabora.com>
Sat, 24 Sep 2022 16:42:24 +0000 (18:42 +0200)
committerGert Wollny <gert.wollny@collabora.com>
Fri, 7 Oct 2022 09:33:57 +0000 (11:33 +0200)
commit5bdbbe5399cc0c5803a474b4fc82fa8ff93fd763
treeaa1b41bf79a69a8fa10a5d46fd5021cca4e52f99
parent47bd2b7afc1d80c3d2709d89635137e014750774
r600/sfn: Delete final lowered nir shader early

Since this is no longer needed we can as well free the
memory right away instead of waiting until the parent
shader is freed.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18983>
src/gallium/drivers/r600/sfn/sfn_nir.cpp