nir: Add new barrier functions for compute shaders
authorJordan Justen <jordan.l.justen@intel.com>
Sat, 10 Oct 2015 15:59:42 +0000 (08:59 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Fri, 6 Nov 2015 21:15:16 +0000 (13:15 -0800)
commit9d65f3208bbded17119c7ad38f4b692d3ed00635
tree9f1d72ffae1f77a4fc3fecfbc312ad6b8b2d6009
parent91f188710ad8dce79936c5d28fd7b9a91b6d870a
nir: Add new barrier functions for compute shaders

When these functions are called in glsl-ir, we create a corresponding
nir intrinsic function call.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/glsl/nir/glsl_to_nir.cpp
src/glsl/nir/nir_intrinsics.h