projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41dabdc
)
st/mesa: add missing switch cases in glsl_to_tgsi_visitor::visit()
author
Brian Paul
<brianp@vmware.com>
Thu, 14 Jun 2018 15:12:19 +0000
(09:12 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 14 Jun 2018 17:29:51 +0000
(11:29 -0600)
To silence compiler warning about unhandled switch cases.
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index b321112cf8878e4b3d0eaba4712d2e273547911f..673c0f6b67aeb0a7e78931ece7e36f04bf819257 100644
(file)
--- 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");
}
}