r300g: Fix bug in build_loop_info()/compiler v2
[mesa.git] / src / gallium / drivers / r300 / compiler / radeon_pair_regalloc.c
index 7b02e53a482b99bfca48b8f2827ebd9f227c79e3..936c88db92c0e4308fa312d0be76413956f37bd5 100644 (file)
@@ -617,7 +617,7 @@ static void do_advanced_regalloc(struct regalloc_state * s)
                input_node++;
        }
 
-       if (!ra_allocate_no_spills(graph)) {
+       if (!ra_allocate(graph)) {
                rc_error(s->C, "Ran out of hardware temporaries\n");
                return;
        }