Mesa (gallium-0.2): cell: turn on PPC assembly vertex transform
Brian Paul
brianp at kemper.freedesktop.org
Wed Oct 22 23:31:39 UTC 2008
Module: Mesa
Branch: gallium-0.2
Commit: 7b1d08738f30d0fec2f07568b16e08c4fdddeeac
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b1d08738f30d0fec2f07568b16e08c4fdddeeac
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date: Wed Oct 22 15:25:04 2008 -0600
cell: turn on PPC assembly vertex transform
gears runs with it now (3x faster FPS than before).
---
src/gallium/auxiliary/draw/draw_vs_ppc.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/src/gallium/auxiliary/draw/draw_vs_ppc.c b/src/gallium/auxiliary/draw/draw_vs_ppc.c
index 990a659..fcc9cbf 100644
--- a/src/gallium/auxiliary/draw/draw_vs_ppc.c
+++ b/src/gallium/auxiliary/draw/draw_vs_ppc.c
@@ -203,9 +203,6 @@ draw_create_vs_ppc(struct draw_context *draw,
{
struct draw_ppc_vertex_shader *vs;
- /* XXX temporary short-circuit */
- return NULL;
-
vs = CALLOC_STRUCT( draw_ppc_vertex_shader );
if (vs == NULL)
return NULL;
@@ -233,7 +230,7 @@ draw_create_vs_ppc(struct draw_context *draw,
vs->machine = &draw->vs.machine;
- ppc_init_func( &vs->ppc_program, 1000 ); /* XXX fix limit */
+ ppc_init_func( &vs->ppc_program, 2000 ); /* XXX fix limit */
if (!tgsi_emit_ppc( (struct tgsi_token *) vs->base.state.tokens,
&vs->ppc_program,
More information about the mesa-commit
mailing list