glsl: add ir_unop_round_even case to silence unhandled enum warning
authorBrian Paul <brianp@vmware.com>
Fri, 15 Oct 2010 21:44:01 +0000 (15:44 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 15 Oct 2010 21:44:01 +0000 (15:44 -0600)
src/glsl/ir_validate.cpp

index df64ed6..d22789f 100644 (file)
@@ -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: