i965: Fix broken asserts

These would never fire.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Chris Forbes 2013-11-17 14:57:51 +13:00
parent 0741997ff0
commit 61143b87c1
2 changed files with 2 additions and 2 deletions

View File

@ -418,7 +418,7 @@ ir_channel_expressions_visitor::visit_leave(ir_assignment *ir)
case ir_unop_unpack_half_2x16_split_x:
case ir_unop_unpack_half_2x16_split_y:
case ir_binop_pack_half_2x16_split:
assert("!not reached: expression operates on scalars only");
assert(!"not reached: expression operates on scalars only");
break;
}

View File

@ -493,7 +493,7 @@ vec4_vs_visitor::get_vp_dst_reg(const prog_dst_register &dst)
return dst_null_f();
default:
assert("vec4_vp: bad destination register file");
assert(!"vec4_vp: bad destination register file");
return dst_reg(this, glsl_type::vec4_type);
}