summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-10-22 15:25:04 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-10-22 15:25:04 -0600
commit7b1d08738f30d0fec2f07568b16e08c4fdddeeac (patch)
treedb3a2f9360a092e4348a5260905c74d504d117d9
parentc6ff870836e7c970f1030e9e0fbdd0cb5df40d29 (diff)
cell: turn on PPC assembly vertex transform
gears runs with it now (3x faster FPS than before).
-rw-r--r--src/gallium/auxiliary/draw/draw_vs_ppc.c5
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 990a659f27..fcc9cbfec5 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,