zink: reorder glsl_type_singleton_init_or_ref call
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 11 Oct 2023 16:16:14 +0000 (12:16 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 17 Oct 2023 22:43:54 +0000 (22:43 +0000)
commit9bb404317eecc294cb3f794604b8e2a760a59aa5
tree9aab40d3f2122794a58b704e98c6f69bb8868391
parentfcf3f7d28f852db5ef463c90fab187f81bb63882
zink: reorder glsl_type_singleton_init_or_ref call

this enables the screen destructor to be used on failure cases

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25663>
src/gallium/drivers/zink/zink_screen.c