diff options
author | Brian Paul <[email protected]> | 2018-06-14 09:12:19 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-06-14 11:29:51 -0600 |
commit | b9e6438adf69e859fac8af585cabf14ec18e22ed (patch) | |
tree | e1be48f121dff0c01dea3fe6102822b7bb27b498 /src/mesa/state_tracker | |
parent | 41dabdc47538fb7660f7063d9dd423473eaa2515 (diff) |
st/mesa: add missing switch cases in glsl_to_tgsi_visitor::visit()
To silence compiler warning about unhandled switch cases.
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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"); } } |