summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vb_arbprogram_sse.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2005-06-08 22:14:29 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2005-06-08 22:14:29 +0000
commit79b7bd18bb27892f6c7f887c37373ca57449a40e (patch)
tree80716cf238a08b401184bd6d5351a883965fcd93 /src/mesa/tnl/t_vb_arbprogram_sse.c
parent8e5612278261284d4be1e2befdcb2b3426365326 (diff)
Turn off debug
Diffstat (limited to 'src/mesa/tnl/t_vb_arbprogram_sse.c')
-rw-r--r--src/mesa/tnl/t_vb_arbprogram_sse.c8
1 files changed, 5 insertions, 3 deletions
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 )) {