glsl: Add builtin barrier() function
authorChris Forbes <chrisf@ijw.co.nz>
Sun, 7 Sep 2014 07:29:50 +0000 (19:29 +1200)
committerJordan Justen <jordan.l.justen@intel.com>
Fri, 12 Jun 2015 22:12:39 +0000 (15:12 -0700)
commit86855365b4059c60a9e1dcc0b7713941a2507bd0
tree644b5c2b33562c34ade8e338af22102adcd60d97
parente7f628c2fc5ef42672e3281e224226c3d47b1bac
glsl: Add builtin barrier() function

[jordan.l.justen@intel.com: Add CS support]
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/builtin_functions.cpp