zink: don't access prog->shaders array during pipeline compile
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 27 Sep 2022 13:54:18 +0000 (09:54 -0400)
committerMarge Bot <emma+marge@anholt.net>
Sat, 1 Oct 2022 02:18:39 +0000 (02:18 +0000)
commit4c228f00a2b3e0997e858eb6327fe3678ebff31c
treeb8c0b4fd9269bd129807a041adc098e29f56868c
parente7ede96f3fa53f4f59c8dfe04b37e54e01795161
zink: don't access prog->shaders array during pipeline compile

this may or may not have valid data

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18911>
src/gallium/drivers/zink/zink_pipeline.c