0c4d1762de
Reusing the shadow sampler's variable causes problems when the sampler is used more than once. The remaining `deref_var`s will be using the wrong type. Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14988>