From: Brian Paul Date: Fri, 15 Oct 2010 21:44:01 +0000 (-0600) Subject: glsl: add ir_unop_round_even case to silence unhandled enum warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b2578ef873c4c9dd831a23501a677bf523de90fc;p=mesa.git glsl: add ir_unop_round_even case to silence unhandled enum warning --- 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: