diff options
author | Brian <[email protected]> | 2007-09-25 15:20:58 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-09-25 15:20:58 -0600 |
commit | 38504011c8dc55cbcfdf16e39eb7a1473e1bdfbd (patch) | |
tree | 72df403ad36abb5516bbf33ea594b67353bd13af | |
parent | 83fad68ec1989c719646a76f4cc5e0b3d23537ed (diff) |
better debug output
-rw-r--r-- | src/mesa/state_tracker/st_atom_constbuf.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mesa/state_tracker/st_atom_constbuf.c b/src/mesa/state_tracker/st_atom_constbuf.c index c2310f9d3f3..cf52a923d37 100644 --- a/src/mesa/state_tracker/st_atom_constbuf.c +++ b/src/mesa/state_tracker/st_atom_constbuf.c @@ -66,15 +66,15 @@ static void upload_constants( struct st_context *st, { int i; - _mesa_printf("%s(%d): %d / %x\n", - __FUNCTION__, id, params->NumParameters, params->StateFlags); + printf("%s(shader=%d, numParams=%d, stateFlags=0x%x)\n", + __FUNCTION__, id, params->NumParameters, params->StateFlags); for (i = 0; i < params->NumParameters; i++) - fprintf(stderr, "%d: %f %f %f %f\n", i, - params->ParameterValues[i][0], - params->ParameterValues[i][1], - params->ParameterValues[i][2], - params->ParameterValues[i][3]); + 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 */ |