_mesa_printf("{%g, %g, %g, %g}", v[0], v[1], v[2], v[3]);
}
else {
- ASSERT(program->Parameters->Parameters[src->Index].Type
+ ASSERT(program->Base.Parameters->Parameters[src->Index].Type
== PROGRAM_NAMED_PARAM);
_mesa_printf("%s", program->Base.Parameters->Parameters[src->Index].Name);
}
ASSERT(source->Index < MAX_NV_VERTEX_PROGRAM_PARAMS);
return state->Parameters[source->Index];
case PROGRAM_STATE_VAR:
- ASSERT(source->Index < state->Current->Parameters->NumParameters);
+ ASSERT(source->Index < state->Current->Base.Parameters->NumParameters);
return state->Current->Base.Parameters->ParameterValues[source->Index];
default:
_mesa_problem(NULL,