diff options
author | Brian Paul <[email protected]> | 2010-02-05 14:58:46 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-02-05 14:58:46 -0700 |
commit | a636f5b4d064dccf658f00d152ae9aeaa3751e64 (patch) | |
tree | 3de33c5b0929f32012c5023d9115196621f6a5f9 /src/mesa/shader | |
parent | 1a366701b81765a46afffff22073d05fc6c3de73 (diff) |
mesa: debug output for ARL
Diffstat (limited to 'src/mesa/shader')
-rw-r--r-- | src/mesa/shader/prog_execute.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_execute.c b/src/mesa/shader/prog_execute.c index 5641014d2c6..7781cb3f7f1 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: |