Mesa (gallium-0.2): gallium: no longer pass max_inst to ppc_init_func()
Brian Paul
brianp at kemper.freedesktop.org
Wed Oct 29 23:11:05 UTC 2008
Module: Mesa
Branch: gallium-0.2
Commit: 725ba94ce5701aa8690c7ab2ea792dda86cbbe7a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=725ba94ce5701aa8690c7ab2ea792dda86cbbe7a
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date: Wed Oct 29 16:35:59 2008 -0600
gallium: no longer pass max_inst to ppc_init_func()
---
src/gallium/auxiliary/draw/draw_vs_ppc.c | 2 +-
src/gallium/auxiliary/rtasm/rtasm_ppc.c | 2 +-
src/gallium/auxiliary/rtasm/rtasm_ppc.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/gallium/auxiliary/draw/draw_vs_ppc.c b/src/gallium/auxiliary/draw/draw_vs_ppc.c
index d720c7b..8b75136 100644
--- a/src/gallium/auxiliary/draw/draw_vs_ppc.c
+++ b/src/gallium/auxiliary/draw/draw_vs_ppc.c
@@ -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,
diff --git a/src/gallium/auxiliary/rtasm/rtasm_ppc.c b/src/gallium/auxiliary/rtasm/rtasm_ppc.c
index e73ed71..6d11263 100644
--- a/src/gallium/auxiliary/rtasm/rtasm_ppc.c
+++ b/src/gallium/auxiliary/rtasm/rtasm_ppc.c
@@ -43,7 +43,7 @@
void
-ppc_init_func(struct ppc_function *p, unsigned max_inst)
+ppc_init_func(struct ppc_function *p)
{
uint i;
diff --git a/src/gallium/auxiliary/rtasm/rtasm_ppc.h b/src/gallium/auxiliary/rtasm/rtasm_ppc.h
index d0477de..afb4704 100644
--- a/src/gallium/auxiliary/rtasm/rtasm_ppc.h
+++ b/src/gallium/auxiliary/rtasm/rtasm_ppc.h
@@ -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 );
More information about the mesa-commit
mailing list