Home
last modified time | relevance | path

Searched refs:oldValNum (Results 1 – 1 of 1) sorted by relevance

/third_party/mesa3d/src/mesa/program/
Dprog_parameter.c201 const unsigned oldValNum = paramList->NumParameterValues; in _mesa_reserve_parameter_storage() local
202 const unsigned needSizeValues = oldValNum + reserve_values * 4; in _mesa_reserve_parameter_storage()
228 oldValNum * sizeof(gl_constant_value),/* old sz */ in _mesa_reserve_parameter_storage()
278 unsigned oldValNum = paramList->NumParameterValues; in _mesa_add_parameter() local
282 oldValNum = align(oldValNum, 4); /* pad start to a vec4 boundary */ in _mesa_add_parameter()
284 oldValNum = align(oldValNum, 2); /* pad start to 64-bit */ in _mesa_add_parameter()
286 unsigned elements = (oldValNum - paramList->NumParameterValues) + padded_size; in _mesa_add_parameter()
300 paramList->NumParameterValues = oldValNum + padded_size; in _mesa_add_parameter()
312 paramList->Parameters[oldNum].ValueOffset = oldValNum; in _mesa_add_parameter()
315 memcpy(paramList->ParameterValues + oldValNum, values, in _mesa_add_parameter()
[all …]