Skip to content

shaders/colorspace: move barrier() out of divergent branch

Niklas Haas requested to merge divergent_barrier into master

This is forbidden by GLSL, it seems - and probably for good reason. Fix it by simply moving the barrier() call outside of the branch.

Keeping the memory barrier inside divergent flows is fine, it seems.

Fixes the CI issues we had on intel machines.

Merge request reports