summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-03-07 17:40:57 -0700
committerBrian <[email protected]>2007-03-07 17:40:57 -0700
commit9637c963f59192aaccf68e7690f5ffb1e17ba077 (patch)
tree539316c585a17ff41af78e071ba31b2148dbf882 /src
parentfb3f0beb42868cef6ee78385164fb9605820c365 (diff)
more DEBUG_PROG
Diffstat (limited to 'src')
-rw-r--r--src/mesa/shader/prog_execute.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_execute.c b/src/mesa/shader/prog_execute.c
index 828a90db441..092c07f7b65 100644
--- a/src/mesa/shader/prog_execute.c
+++ b/src/mesa/shader/prog_execute.c
@@ -1651,6 +1651,11 @@ _mesa_execute_program(GLcontext * ctx,
result[2] = a[0] * b[1] - a[1] * b[0];
result[3] = 1.0;
store_vector4(inst, machine, result);
+ if (DEBUG_PROG) {
+ printf("XPD (%g %g %g %g) = (%g %g %g) X (%g %g %g)\n",
+ result[0], result[1], result[2], result[3],
+ a[0], a[1], a[2], b[0], b[1], b[2]);
+ }
}
break;
case OPCODE_X2D: /* 2-D matrix transform */