mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-31 22:10:28 +01:00
gallium: no longer pass max_inst to ppc_init_func()
This commit is contained in:
parent
a5d920297a
commit
725ba94ce5
3 changed files with 3 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
|
||||
void
|
||||
ppc_init_func(struct ppc_function *p, unsigned max_inst)
|
||||
ppc_init_func(struct ppc_function *p)
|
||||
{
|
||||
uint i;
|
||||
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue