Lines Matching refs:offsetInput
30 const T *offsetInput = reinterpret_cast<const T *>(input + (i * stride)); in CopyNativeVertexData() local
33 memcpy(offsetOutput, offsetInput, attribSize); in CopyNativeVertexData()
43 const T *offsetInput = reinterpret_cast<const T *>(input + (i * stride)); in CopyNativeVertexData() local
46 memcpy(offsetOutput, offsetInput, attribSize); in CopyNativeVertexData()
73 const GLbyte *offsetInput = reinterpret_cast<const GLbyte *>(input + i * stride); in Copy8SintTo16SintVertexData() local
78 offsetOutput[j] = static_cast<GLshort>(offsetInput[j]); in Copy8SintTo16SintVertexData()
103 const GLbyte *offsetInput = reinterpret_cast<const GLbyte *>(input + i * stride); in Copy8SnormTo16SnormVertexData() local
111 if (offsetInput[j] > 0) in Copy8SnormTo16SnormVertexData()
114 offsetInput[j] << 8 | offsetInput[j] << 1 | ((offsetInput[j] & 0x40) >> 6); in Copy8SnormTo16SnormVertexData()
118 offsetOutput[j] = offsetInput[j] << 8; in Copy8SnormTo16SnormVertexData()
146 const uint8_t *offsetInput = input + i * stride; in Copy32FixedTo32FVertexData() local
150 if (reinterpret_cast<uintptr_t>(offsetInput) % sizeof(GLfixed) == 0) in Copy32FixedTo32FVertexData()
155 static_cast<float>(reinterpret_cast<const GLfixed *>(offsetInput)[j]) * divisor; in Copy32FixedTo32FVertexData()
163 memcpy(&alignedInput, offsetInput + j * sizeof(GLfixed), sizeof(GLfixed)); in Copy32FixedTo32FVertexData()
195 const T *offsetInput = reinterpret_cast<const T *>(input + (stride * i)); in CopyToFloatVertexData() local
207 result = static_cast<float>(offsetInput[j]) / static_cast<float>(NL::max()); in CopyToFloatVertexData()
212 result = static_cast<float>(offsetInput[j]) / static_cast<float>(NL::max()); in CopyToFloatVertexData()
217 result = static_cast<float>(offsetInput[j]); in CopyToFloatVertexData()
257 const float *offsetInput = reinterpret_cast<const float *>(input + (stride * i)); in Copy32FTo16FVertexData() local
263 offsetOutput[j] = gl::float32ToFloat16(offsetInput[j]); in Copy32FTo16FVertexData()
277 const float *offsetInput = reinterpret_cast<const float *>(input + (stride * i)); in CopyXYZ32FToXYZ9E5() local
280 *offsetOutput = gl::convertRGBFloatsTo999E5(offsetInput[0], offsetInput[1], offsetInput[2]); in CopyXYZ32FToXYZ9E5()
291 const float *offsetInput = reinterpret_cast<const float *>(input + (stride * i)); in CopyXYZ32FToX11Y11B10F() local
294 *offsetOutput = gl::float32ToFloat11(offsetInput[0]) << 0 | in CopyXYZ32FToX11Y11B10F()
295 gl::float32ToFloat11(offsetInput[1]) << 11 | in CopyXYZ32FToX11Y11B10F()
296 gl::float32ToFloat10(offsetInput[2]) << 22; in CopyXYZ32FToX11Y11B10F()