From 03923ff95ed2c1ee54f0132e87e277b6cf07b7f5 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 22 Sep 2010 14:58:29 -0700 Subject: i965: Warning fix for vector result any_nequal/all_equal change. --- src/mesa/drivers/dri/i965/brw_fs.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/i965') diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index cf5c52119a..2b517375eb 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: -- cgit v1.2.3