r300/compiler: remove a redundant parameter in rc_pair_regalloc
This commit is contained in:
parent
f0ae99252a
commit
9a9aa7daa8
|
@ -210,7 +210,7 @@ void r3xx_compile_fragment_program(struct r300_fragment_program_compiler* c)
|
|||
|
||||
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;
|
||||
|
|
|
@ -292,8 +292,9 @@ static void alloc_input(void * data, unsigned int input, unsigned int hwreg)
|
|||
|
||||
}
|
||||
|
||||
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));
|
||||
|
|
|
@ -120,7 +120,7 @@ struct radeon_pair_handler;
|
|||
|
||||
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_ */
|
||||
|
|
Loading…
Reference in New Issue