r600/sb: Fix broken assert
authorChris Forbes <chrisf@ijw.co.nz>
Sun, 17 Nov 2013 01:57:51 +0000 (14:57 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Sun, 17 Nov 2013 05:56:40 +0000 (18:56 +1300)
This would never fire.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/r600/sb/sb_sched.cpp

index 27923155dae071ca8162612909d972edb18a5853..1413916175594087e6f91efdf3324668aa92ac90 100644 (file)
@@ -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;