Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dpack.c1018 GLenum dstType, const GLfloat *depthSpan, in _mesa_pack_depth_span() argument
1028 memcpy(depthCopy, depthSpan, n * sizeof(GLfloat)); in _mesa_pack_depth_span()
1030 depthSpan = depthCopy; in _mesa_pack_depth_span()
1039 dst[i] = FLOAT_TO_UBYTE( depthSpan[i] ); in _mesa_pack_depth_span()
1048 dst[i] = FLOAT_TO_BYTE( depthSpan[i] ); in _mesa_pack_depth_span()
1057 CLAMPED_FLOAT_TO_USHORT(dst[i], depthSpan[i]); in _mesa_pack_depth_span()
1069 dst[i] = FLOAT_TO_SHORT( depthSpan[i] ); in _mesa_pack_depth_span()
1082 GLuint z = (GLuint) (depthSpan[i] * scale); in _mesa_pack_depth_span()
1096 dst[i] = FLOAT_TO_UINT( depthSpan[i] ); in _mesa_pack_depth_span()
1108 dst[i] = FLOAT_TO_INT( depthSpan[i] ); in _mesa_pack_depth_span()
[all …]
Dpack.h70 GLenum dstType, const GLfloat *depthSpan,