From: Brian Paul Date: Fri, 5 Feb 2010 21:58:46 +0000 (-0700) Subject: mesa: debug output for ARL X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a636f5b4d064dccf658f00d152ae9aeaa3751e64;p=mesa.git mesa: debug output for ARL --- 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: