From 6f7c693a85bec6bf14c8afa106505a5d0eeff47e Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sun, 17 Nov 2013 14:57:51 +1300 Subject: [PATCH] r600/sb: Fix broken assert This would never fire. Signed-off-by: Chris Forbes Reviewed-by: Kenneth Graunke --- src/gallium/drivers/r600/sb/sb_sched.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2