summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-09-26 15:34:31 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-09-26 15:34:31 -0600
commit715e5edff6ade0a1ef02c8f8d9e4d61316113721 (patch)
treefe371f5751243b4f19f1c4629f179c8b38e258b8 /src
parent960fe21008eb00bf778f82476e3d00df0a5c34db (diff)
better debugging
Diffstat (limited to 'src')
-rw-r--r--src/mesa/state_tracker/st_atom_constbuf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_atom_constbuf.c b/src/mesa/state_tracker/st_atom_constbuf.c
index cf52a923d3..5285485c94 100644
--- a/src/mesa/state_tracker/st_atom_constbuf.c
+++ b/src/mesa/state_tracker/st_atom_constbuf.c
@@ -32,6 +32,7 @@
#include "main/imports.h"
#include "shader/prog_parameter.h"
+#include "shader/prog_print.h"
#include "pipe/p_context.h"
#include "pipe/p_defines.h"
@@ -69,12 +70,15 @@ static void upload_constants( struct st_context *st,
printf("%s(shader=%d, numParams=%d, stateFlags=0x%x)\n",
__FUNCTION__, id, params->NumParameters, params->StateFlags);
+ _mesa_print_parameter_list(params);
+ /*
for (i = 0; i < params->NumParameters; i++)
printf("%d: %f %f %f %f\n", i,
params->ParameterValues[i][0],
params->ParameterValues[i][1],
params->ParameterValues[i][2],
params->ParameterValues[i][3]);
+ */
}
/* load Mesa constants into the constant buffer */