Lines Matching refs:oldNum
116 const GLuint oldNum = paramList->NumParameters; in _mesa_add_parameter() local
121 if (oldNum + sz4 > paramList->Size) { in _mesa_add_parameter()
128 oldNum * sizeof(struct gl_program_parameter), in _mesa_add_parameter()
133 oldNum * 4 * sizeof(gl_constant_value),/* old sz */ in _mesa_add_parameter()
148 paramList->NumParameters = oldNum + sz4; in _mesa_add_parameter()
150 memset(¶mList->Parameters[oldNum], 0, in _mesa_add_parameter()
154 struct gl_program_parameter *p = paramList->Parameters + oldNum + i; in _mesa_add_parameter()
161 COPY_4V(paramList->ParameterValues[oldNum + i], values); in _mesa_add_parameter()
168 paramList->ParameterValues[oldNum + i][j].f = 0; in _mesa_add_parameter()
175 paramList->Parameters[oldNum].StateIndexes[i] = state[i]; in _mesa_add_parameter()
178 return (GLint) oldNum; in _mesa_add_parameter()