aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-10-15 15:44:01 -0600
committerBrian Paul <[email protected]>2010-10-15 15:44:01 -0600
commitb2578ef873c4c9dd831a23501a677bf523de90fc (patch)
tree1669a22a49b89fbd8e46e676fe145b3c57390755 /src
parentfb8f3d7711557d34d8a171304c589891d5bda047 (diff)
glsl: add ir_unop_round_even case to silence unhandled enum warning
Diffstat (limited to 'src')
-rw-r--r--src/glsl/ir_validate.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ir_validate.cpp b/src/glsl/ir_validate.cpp
index df64ed638c2..d22789f990a 100644
--- a/src/glsl/ir_validate.cpp
+++ b/src/glsl/ir_validate.cpp
@@ -267,6 +267,7 @@ ir_validate::visit_leave(ir_expression *ir)
break;
case ir_unop_trunc:
+ case ir_unop_round_even:
case ir_unop_ceil:
case ir_unop_floor:
case ir_unop_fract: