mesa: debug output for ARL
authorBrian Paul <brianp@vmware.com>
Fri, 5 Feb 2010 21:58:46 +0000 (14:58 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 5 Feb 2010 21:58:46 +0000 (14:58 -0700)
src/mesa/shader/prog_execute.c

index 5641014d2c6b32d7c470f68fcd68976f4c306cf2..7781cb3f7f1cabf77b8552e41386106226198e5a 100644 (file)
@@ -701,6 +701,9 @@ _mesa_execute_program(GLcontext * ctx,
             GLfloat t[4];
             fetch_vector4(&inst->SrcReg[0], machine, t);
             machine->AddressReg[0][0] = IFLOOR(t[0]);
+            if (DEBUG_PROG) {
+               printf("ARL %d\n", machine->AddressReg[0][0]);
+            }
          }
          break;
       case OPCODE_BGNLOOP: