From 198c50f4873758e9f64d89eea262af5dd1644df9 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 17 Sep 2018 21:08:19 -0600 Subject: [PATCH] st/mesa: silenced unhanded enum warning in st_glsl_to_tgsi.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Add ir_intrinsic_begin_fragment_shader_ordering switch case to silence warning Reviewed-by: Mathias Fröhlich --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index ffaaeff77a5..5a7e25a274c 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -4068,6 +4068,7 @@ glsl_to_tgsi_visitor::visit(ir_call *ir) case ir_intrinsic_generic_atomic_comp_swap: case ir_intrinsic_begin_invocation_interlock: case ir_intrinsic_end_invocation_interlock: + case ir_intrinsic_begin_fragment_shader_ordering: unreachable("Invalid intrinsic"); } } -- 2.30.2