st/mesa: silenced unhanded enum warning in st_glsl_to_tgsi.cpp
authorBrian Paul <brianp@vmware.com>
Tue, 18 Sep 2018 03:08:19 +0000 (21:08 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 20 Sep 2018 19:20:10 +0000 (13:20 -0600)
Add ir_intrinsic_begin_fragment_shader_ordering switch case to
silence warning

Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp

index ffaaeff77a5c2c4c7480828148c28f7bec33babd..5a7e25a274cbfced4b1096cf87a660c63d3b6274 100644 (file)
@@ -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");
    }
 }