radeonsi: make screen available to shader part compilation
authorMarek Olšák <marek.olsak@amd.com>
Fri, 24 Jan 2020 21:28:54 +0000 (16:28 -0500)
committerMarge Bot <eric+marge@anholt.net>
Sat, 25 Jan 2020 05:59:24 +0000 (05:59 +0000)
commit688d2901b8466559fd4ed87a49fbc1cf8ed2ca1b
tree4025a5dbf18a5e91b2d25d9a655d6de8654375dd
parent07a441d53f8a0d400ffde8bcb0a4af14ff11a2b4
radeonsi: make screen available to shader part compilation

to fix a crash in is_multi_part_shader.

Fixes: 1a0890dcf30 - radeonsi: change prototypes of si_is_multi_part_shader & si_is_merged_shader
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3561>
src/gallium/drivers/radeonsi/si_shader.c