From 79b7bd18bb27892f6c7f887c37373ca57449a40e Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Wed, 8 Jun 2005 22:14:29 +0000 Subject: Turn off debug --- src/mesa/tnl/t_vb_arbprogram.c | 4 ++-- src/mesa/tnl/t_vb_arbprogram_sse.c | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/mesa/tnl/t_vb_arbprogram.c b/src/mesa/tnl/t_vb_arbprogram.c index eeab0ed3ca..07dc34d266 100644 --- a/src/mesa/tnl/t_vb_arbprogram.c +++ b/src/mesa/tnl/t_vb_arbprogram.c @@ -26,7 +26,7 @@ * \file t_arb_program.c * Compile vertex programs to an intermediate representation. * Execute vertex programs over a buffer of vertices. - * \author Keith Whitwell + * \author Keith Whitwell, Brian Paul */ #include "glheader.h" @@ -1276,7 +1276,7 @@ run_arb_vertex_program(GLcontext *ctx, struct tnl_pipeline_stage *stage) } } -#if 1 +#if 0 for (i = 0; i < VB->Count; i++) { printf("Out %d: %f %f %f %f %f %f %f %f\n", i, VEC_ELT(VB->ClipPtr, GLfloat, i)[0], diff --git a/src/mesa/tnl/t_vb_arbprogram_sse.c b/src/mesa/tnl/t_vb_arbprogram_sse.c index 6b85e23215..83be1d2d9f 100644 --- a/src/mesa/tnl/t_vb_arbprogram_sse.c +++ b/src/mesa/tnl/t_vb_arbprogram_sse.c @@ -66,7 +66,7 @@ * EDI */ - +#define DISASSEM 0 #define FAIL \ do { \ @@ -803,8 +803,10 @@ static GLboolean build_vertex_program( struct compilation *cp ) union instruction inst = cp->m->instructions[j]; cp->insn_counter = j+1; /* avoid zero */ - _mesa_printf("%p: ", cp->func.csr); - _tnl_disassem_vba_insn( inst ); + if (DISASSEM) { + _mesa_printf("%p: ", cp->func.csr); + _tnl_disassem_vba_insn( inst ); + } cp->func.fn = NULL; if (!emit_func[inst.alu.opcode]( cp, inst )) { -- cgit v1.2.3