nv50/ir: convert to scoped_barrier

Merged Karol Herbst requested to merge karolherbst/mesa:nouveau/scoped_barriers into main

This is for #9086 (closed)

No regressions on TU102 running ./glcts -n '*barrier*'

Edited by Karol Herbst

Merge request reports