zink: don't deref prog->shaders during pipeline construction
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Sun, 25 Sep 2022 16:18:59 +0000 (12:18 -0400)
committerMarge Bot <emma+marge@anholt.net>
Sat, 1 Oct 2022 02:18:39 +0000 (02:18 +0000)
commit617ee2855bc71f8943acd351676ba4bb3665caeb
treef7f77f1231cfc7e1519a765803840b811e9d7d40
parent9b76fc40335e8d42d58d28acefdee2dd28f07d3b
zink: don't deref prog->shaders during pipeline construction

this may or may not be valid depending on (upcoming) threading changes,
and the nir pointers are all readily available

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