Add WGSL support for compute barrier intrinsics.

These use the WGSL names already, which is fortunate, but it's one
of the rare intrinsics with a void return type, and this required
a bit of fixup in the code generator.

Bug: b/40044665
Change-Id: Ia33b494735ab588947cdb7fa863f282a130d2d91
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/751779
Reviewed-by: Arman Uguray <armansito@google.com>
Commit-Queue: Arman Uguray <armansito@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
4 files changed