gallium: code to dump/debug PPC code (disabled)
authorBrian Paul <brianp@vmware.com>
Sat, 10 Jan 2009 04:42:58 +0000 (21:42 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 10 Jan 2009 21:58:44 +0000 (14:58 -0700)
src/gallium/auxiliary/draw/draw_vs_ppc.c

index 8b751361449ce1a832faecfd78c45a7665f0265b..d35db57d571e9ab735ca35c7b5ba082d9754b687 100644 (file)
@@ -199,6 +199,11 @@ draw_create_vs_ppc(struct draw_context *draw,
 
    ppc_init_func( &vs->ppc_program );
 
+#if 0
+   ppc_print_code(&vs->ppc_program, TRUE);
+   ppc_indent(&vs->ppc_program, 8);
+#endif
+
    if (!tgsi_emit_ppc( (struct tgsi_token *) vs->base.state.tokens,
                        &vs->ppc_program, 
                        (float (*)[4]) vs->base.immediates,