summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Forbes <[email protected]>2013-11-17 14:57:51 +1300
committerChris Forbes <[email protected]>2013-11-17 18:56:40 +1300
commit6f7c693a85bec6bf14c8afa106505a5d0eeff47e (patch)
tree140f5c4dd9034aa0573d277cb713c192ba7e9cd2
parent4cb04aa0dfaf8c23e312fa49778e637e59410727 (diff)
r600/sb: Fix broken assert
This would never fire. Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/gallium/drivers/r600/sb/sb_sched.cpp2
1 files changed, 1 insertions, 1 deletions
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;