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 df64ed638c237f09b2a9d606a766a4724efa5d3f..d22789f990aa7f6fae772f527c23b231c99b1196 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: