better debug output
This commit is contained in:
@@ -66,11 +66,11 @@ static void upload_constants( struct st_context *st,
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
_mesa_printf("%s(%d): %d / %x\n",
|
printf("%s(shader=%d, numParams=%d, stateFlags=0x%x)\n",
|
||||||
__FUNCTION__, id, params->NumParameters, params->StateFlags);
|
__FUNCTION__, id, params->NumParameters, params->StateFlags);
|
||||||
|
|
||||||
for (i = 0; i < params->NumParameters; i++)
|
for (i = 0; i < params->NumParameters; i++)
|
||||||
fprintf(stderr, "%d: %f %f %f %f\n", i,
|
printf("%d: %f %f %f %f\n", i,
|
||||||
params->ParameterValues[i][0],
|
params->ParameterValues[i][0],
|
||||||
params->ParameterValues[i][1],
|
params->ParameterValues[i][1],
|
||||||
params->ParameterValues[i][2],
|
params->ParameterValues[i][2],
|
||||||
|
Reference in New Issue
Block a user