Mesa (master): glsl: add ir_unop_round_even case to silence unhandled enum warning
Brian Paul
brianp at kemper.freedesktop.org
Fri Oct 15 23:05:58 UTC 2010
Module: Mesa
Branch: master
Commit: b2578ef873c4c9dd831a23501a677bf523de90fc
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2578ef873c4c9dd831a23501a677bf523de90fc
Author: Brian Paul <brianp at vmware.com>
Date: Fri Oct 15 15:44:01 2010 -0600
glsl: add ir_unop_round_even case to silence unhandled enum warning
---
src/glsl/ir_validate.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/glsl/ir_validate.cpp b/src/glsl/ir_validate.cpp
index df64ed6..d22789f 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:
More information about the mesa-commit
mailing list