gallium: no longer pass max_inst to ppc_init_func()

This commit is contained in:
Brian Paul 2008-10-29 16:35:59 -06:00
parent a5d920297a
commit 725ba94ce5
3 changed files with 3 additions and 3 deletions

View file

@ -197,7 +197,7 @@ draw_create_vs_ppc(struct draw_context *draw,
vs->base.immediates = align_malloc(TGSI_EXEC_NUM_IMMEDIATES * 4 *
sizeof(float), 16);
ppc_init_func( &vs->ppc_program, 2000 ); /* XXX fix limit */
ppc_init_func( &vs->ppc_program );
if (!tgsi_emit_ppc( (struct tgsi_token *) vs->base.state.tokens,
&vs->ppc_program,

View file

@ -43,7 +43,7 @@
void
ppc_init_func(struct ppc_function *p, unsigned max_inst)
ppc_init_func(struct ppc_function *p)
{
uint i;

View file

@ -62,7 +62,7 @@ struct ppc_function
extern void ppc_init_func(struct ppc_function *p, unsigned max_inst);
extern void ppc_init_func(struct ppc_function *p);
extern void ppc_release_func(struct ppc_function *p);
extern uint ppc_num_instructions(const struct ppc_function *p);
extern void (*ppc_get_func( struct ppc_function *p ))( void );