Mesa (master): st/mesa: add switch cases for new IR enums to silence warnings
Brian Paul
brianp at kemper.freedesktop.org
Fri May 24 23:00:58 UTC 2013
Module: Mesa
Branch: master
Commit: db4580cbdf66c587867130cb7b2e630ea247971e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=db4580cbdf66c587867130cb7b2e630ea247971e
Author: Brian Paul <brianp at vmware.com>
Date: Thu May 23 09:33:19 2013 -0600
st/mesa: add switch cases for new IR enums to silence warnings
---
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 b1b6e61..f8176eb 100644
--- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@ -1976,6 +1976,8 @@ glsl_to_tgsi_visitor::visit(ir_expression *ir)
case ir_triop_bitfield_extract:
case ir_quadop_bitfield_insert:
case ir_quadop_vector:
+ case ir_binop_vector_extract:
+ case ir_triop_vector_insert:
/* This operation is not supported, or should have already been handled.
*/
assert(!"Invalid ir opcode in glsl_to_tgsi_visitor::visit()");
More information about the mesa-commit
mailing list