From: Brian Paul Date: Sat, 10 Jan 2009 04:42:58 +0000 (-0700) Subject: gallium: code to dump/debug PPC code (disabled) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ebd969f0f0d0e45e6ac462059cf322f037775f1;p=mesa.git gallium: code to dump/debug PPC code (disabled) --- diff --git a/src/gallium/auxiliary/draw/draw_vs_ppc.c b/src/gallium/auxiliary/draw/draw_vs_ppc.c index 8b751361449..d35db57d571 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,