zink: avoid accessing zink_gfx_program::modules during pipeline compile
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 3 Apr 2023 19:45:20 +0000 (15:45 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 27 Apr 2023 01:33:17 +0000 (01:33 +0000)
commita0df43f3ee10b6d5217bdfca7549f107e1298ee0
treebc0975c0acac4033276a96bf96429d3f6d9f2eb7
parent76fbc852208770103f1ba64f664534f4d36cce17
zink: avoid accessing zink_gfx_program::modules during pipeline compile

this allows a different array of modules to be passed in

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22725>
src/gallium/drivers/zink/zink_pipeline.c
src/gallium/drivers/zink/zink_pipeline.h
src/gallium/drivers/zink/zink_program.c
src/gallium/drivers/zink/zink_program_state.hpp