zink: fix crash in lower_pv_mode_gs_store
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 11 Aug 2023 19:16:51 +0000 (15:16 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 14 Aug 2023 11:46:05 +0000 (11:46 +0000)
commit04dbb556c282a13e510ade21d6e24ee4d1bf90e8
treec42f8b824ed14ebd3cbab9f5057127ba775d97c9
parent198719de39fa9daa7d254c4be44a8e4caf30ae1c
zink: fix crash in lower_pv_mode_gs_store

src->parent can be null

Fixes: 39770c6503a ("zink: fix store subsitution in `lower_pv_mode_gs_store`")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24642>
src/gallium/drivers/zink/zink_compiler.c