debug_program_log(c, "after pair scheduling");
- rc_pair_regalloc(c, c->Base.max_temp_regs);
+ rc_pair_regalloc(c);
if (c->Base.Error)
return;
}
-void rc_pair_regalloc(struct r300_fragment_program_compiler *c, unsigned maxtemps)
+void rc_pair_regalloc(struct r300_fragment_program_compiler *c)
{
+ unsigned maxtemps = c->Base.max_temp_regs;
struct regalloc_state s;
memset(&s, 0, sizeof(s));
void rc_pair_translate(struct r300_fragment_program_compiler *c);
void rc_pair_schedule(struct r300_fragment_program_compiler *c);
-void rc_pair_regalloc(struct r300_fragment_program_compiler *c, unsigned maxtemps);
+void rc_pair_regalloc(struct r300_fragment_program_compiler *c);
/*@}*/
#endif /* __RADEON_PROGRAM_PAIR_H_ */