zink: move nir cloning out to callers of zink_shader_compile
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 29 Mar 2023 12:10:51 +0000 (08:10 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 4 Apr 2023 01:37:41 +0000 (01:37 +0000)
commit517146f5400ac16a27955ac7d59d3e0001abf8af
tree188e878d3dc1eb4c807d98bd0d46f950d56afea1
parentdfa8c15164c2f005d4690b6b9b652451c59e1917
zink: move nir cloning out to callers of zink_shader_compile

this will make more sense with future changes

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22266>
src/gallium/drivers/zink/zink_compiler.c
src/gallium/drivers/zink/zink_program.c