mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-23 18:24:13 +08:00
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:
parent
0741997ff0
commit
61143b87c1
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user