Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dpack.c1003 GLenum dstType, const GLfloat *depthSpan, in _mesa_pack_depth_span() argument
1013 memcpy(depthCopy, depthSpan, n * sizeof(GLfloat)); in _mesa_pack_depth_span()
1015 depthSpan = depthCopy; in _mesa_pack_depth_span()
1024 dst[i] = FLOAT_TO_UBYTE( depthSpan[i] ); in _mesa_pack_depth_span()
1033 dst[i] = FLOAT_TO_BYTE( depthSpan[i] ); in _mesa_pack_depth_span()
1042 CLAMPED_FLOAT_TO_USHORT(dst[i], depthSpan[i]); in _mesa_pack_depth_span()
1054 dst[i] = FLOAT_TO_SHORT( depthSpan[i] ); in _mesa_pack_depth_span()
1067 GLuint z = (GLuint) (depthSpan[i] * scale); in _mesa_pack_depth_span()
1081 dst[i] = FLOAT_TO_UINT( depthSpan[i] ); in _mesa_pack_depth_span()
1093 dst[i] = FLOAT_TO_INT( depthSpan[i] ); in _mesa_pack_depth_span()
[all …]
Dpack.h72 GLenum dstType, const GLfloat *depthSpan,