From: Jordan Justen Date: Fri, 13 Mar 2015 19:03:52 +0000 (-0700) Subject: i965/nir: Support barrier intrinsic function X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f0e772392f1c61df6e3f253dc236eb9737fb6146;p=mesa.git i965/nir: Support barrier intrinsic function Signed-off-by: Jordan Justen Reviewed-by: Chris Forbes --- diff --git a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp index 3c24a87c10c..59081eab877 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp @@ -1575,6 +1575,10 @@ fs_visitor::nir_emit_intrinsic(const fs_builder &bld, nir_intrinsic_instr *instr break; } + case nir_intrinsic_barrier: + emit_barrier(); + break; + default: unreachable("unknown intrinsic"); }