From: Brian Paul Date: Thu, 14 Jun 2018 15:12:19 +0000 (-0600) Subject: st/mesa: add missing switch cases in glsl_to_tgsi_visitor::visit() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9e6438adf69e859fac8af585cabf14ec18e22ed;p=mesa.git st/mesa: add missing switch cases in glsl_to_tgsi_visitor::visit() To silence compiler warning about unhandled switch cases. Reviewed-by: Charmaine Lee --- diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index b321112cf88..673c0f6b67a 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -3990,6 +3990,8 @@ glsl_to_tgsi_visitor::visit(ir_call *ir) case ir_intrinsic_generic_atomic_max: case ir_intrinsic_generic_atomic_exchange: case ir_intrinsic_generic_atomic_comp_swap: + case ir_intrinsic_begin_invocation_interlock: + case ir_intrinsic_end_invocation_interlock: unreachable("Invalid intrinsic"); } }