cell: turn on PPC assembly vertex transform
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 22 Oct 2008 21:25:04 +0000 (15:25 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 22 Oct 2008 21:25:04 +0000 (15:25 -0600)
gears runs with it now (3x faster FPS than before).

src/gallium/auxiliary/draw/draw_vs_ppc.c

index 990a659f2720b9e9d498588006c591ef610f8cdb..fcc9cbfec543b55fb70bc01912d3c6ed86ca07c4 100644 (file)
@@ -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,