summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-01-09 21:42:58 -0700
committerBrian Paul <brianp@vmware.com>2009-01-10 14:58:44 -0700
commit2ebd969f0f0d0e45e6ac462059cf322f037775f1 (patch)
treece46f872c74e7ef5853438d1a0428e4b8637ff0e
parent7acaeb87750226e7407908bc2dfa9989049202fa (diff)
gallium: code to dump/debug PPC code (disabled)
-rw-r--r--src/gallium/auxiliary/draw/draw_vs_ppc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vs_ppc.c b/src/gallium/auxiliary/draw/draw_vs_ppc.c
index 8b75136144..d35db57d57 100644
--- a/src/gallium/auxiliary/draw/draw_vs_ppc.c
+++ b/src/gallium/auxiliary/draw/draw_vs_ppc.c
@@ -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,