* \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"
}
}
-#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],
* EDI
*/
-
+#define DISASSEM 0
#define FAIL \
do { \
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 )) {