From: Chris Forbes Date: Sun, 17 Nov 2013 01:57:51 +0000 (+1300) Subject: r600/sb: Fix broken assert X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6f7c693a85bec6bf14c8afa106505a5d0eeff47e;p=mesa.git r600/sb: Fix broken assert This would never fire. Signed-off-by: Chris Forbes Reviewed-by: Kenneth Graunke --- diff --git a/src/gallium/drivers/r600/sb/sb_sched.cpp b/src/gallium/drivers/r600/sb/sb_sched.cpp index 27923155dae..14139161755 100644 --- a/src/gallium/drivers/r600/sb/sb_sched.cpp +++ b/src/gallium/drivers/r600/sb/sb_sched.cpp @@ -527,7 +527,7 @@ bool alu_group_tracker::try_reserve(alu_node* n) { forced_swz_slots |= (1 << i); a->bc.bank_swizzle = VEC_210; if (!gpr.try_reserve(a)) - assert("!internal reservation error"); + assert(!"internal reservation error"); } else { if (first_nf == ~0) first_nf = i;