remove old debug code, fix warning
This commit is contained in:
@@ -65,20 +65,9 @@ static void upload_constants( struct st_context *st,
|
|||||||
|
|
||||||
if (0)
|
if (0)
|
||||||
{
|
{
|
||||||
int i;
|
|
||||||
|
|
||||||
printf("%s(shader=%d, numParams=%d, stateFlags=0x%x)\n",
|
printf("%s(shader=%d, numParams=%d, stateFlags=0x%x)\n",
|
||||||
__FUNCTION__, id, params->NumParameters, params->StateFlags);
|
__FUNCTION__, id, params->NumParameters, params->StateFlags);
|
||||||
|
|
||||||
_mesa_print_parameter_list(params);
|
_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 */
|
/* load Mesa constants into the constant buffer */
|
||||||
|
Reference in New Issue
Block a user