Mesa (master): i965: Warning fix for vector result any_nequal/ all_equal change.
Eric Anholt
anholt at kemper.freedesktop.org
Wed Sep 22 21:59:11 UTC 2010
Module: Mesa
Branch: master
Commit: 03923ff95ed2c1ee54f0132e87e277b6cf07b7f5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=03923ff95ed2c1ee54f0132e87e277b6cf07b7f5
Author: Eric Anholt <eric at anholt.net>
Date: Wed Sep 22 14:58:29 2010 -0700
i965: Warning fix for vector result any_nequal/all_equal change.
---
src/mesa/drivers/dri/i965/brw_fs.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index cf5c521..2b51737 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -750,7 +750,9 @@ fs_visitor::visit(ir_expression *ir)
case ir_binop_dot:
case ir_binop_cross:
case ir_unop_any:
- assert(!"not reached: should be handled by brw_channel_expressions");
+ case ir_binop_all_equal:
+ case ir_binop_any_nequal:
+ assert(!"not reached: should be handled by brw_fs_channel_expressions");
break;
case ir_unop_noise:
More information about the mesa-commit
mailing list