summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-02-05 14:58:46 -0700
committerBrian Paul <brianp@vmware.com>2010-02-05 14:58:46 -0700
commita636f5b4d064dccf658f00d152ae9aeaa3751e64 (patch)
tree3de33c5b0929f32012c5023d9115196621f6a5f9
parent1a366701b81765a46afffff22073d05fc6c3de73 (diff)
mesa: debug output for ARL
-rw-r--r--src/mesa/shader/prog_execute.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_execute.c b/src/mesa/shader/prog_execute.c
index 5641014d2c..7781cb3f7f 100644
--- a/src/mesa/shader/prog_execute.c
+++ b/src/mesa/shader/prog_execute.c
@@ -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: