b26a9efc5a
It's one of the weirder parts of our shader interface's interactions with the GL API, so let's try to make it a little cleaner. Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23111>