Lines Matching refs:oldNum
195 const GLuint oldNum = paramList->NumParameters; in _mesa_reserve_parameter_storage() local
197 if (oldNum + reserve_slots > paramList->Size) { in _mesa_reserve_parameter_storage()
208 oldNum * 4 * sizeof(gl_constant_value),/* old sz */ in _mesa_reserve_parameter_storage()
238 const GLuint oldNum = paramList->NumParameters; in _mesa_add_parameter() local
250 paramList->NumParameters = oldNum + 1; in _mesa_add_parameter()
252 memset(¶mList->Parameters[oldNum], 0, in _mesa_add_parameter()
255 struct gl_program_parameter *p = paramList->Parameters + oldNum; in _mesa_add_parameter()
263 COPY_4V(paramList->ParameterValues[oldNum], values); in _mesa_add_parameter()
268 paramList->ParameterValues[oldNum][j].f = values[j].f; in _mesa_add_parameter()
273 paramList->ParameterValues[oldNum][j].f = 0; in _mesa_add_parameter()
279 paramList->Parameters[oldNum].StateIndexes[i] = state[i]; in _mesa_add_parameter()
282 return (GLint) oldNum; in _mesa_add_parameter()