02efc5a099
If the barrier tries to apply to memory that we can't express, just don't apply the memory portion of the barrier. Similarly, if it tries to apply a global memory barrier at invocation level, upgrade it to thread-group. Reviewed-by: Enrico Galli <enrico.galli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11670>