
When deciding on workarounds that apply to GLSLang we should also check for ShaderC (when using glslang). Add a helper to do that and reuse in the three places we check for it. This patch will now consider shaderc for wa_glslang_cs_barrier workaround. Suggested by Timur Kristóf. Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18442>