From b9e6438adf69e859fac8af585cabf14ec18e22ed Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 14 Jun 2018 09:12:19 -0600 Subject: [PATCH] st/mesa: add missing switch cases in glsl_to_tgsi_visitor::visit() To silence compiler warning about unhandled switch cases. Reviewed-by: Charmaine Lee --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 2 ++ 1 file changed, 2 insertions(+) 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"); } } -- 2.30.2