ed77ac1eef
This patch refactors common shader creation code into a helper function. Reviewed-by: Neha Bhende <bhenden@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16501>