Searched defs:depthMaxF (Results 1 - 1 of 1) sorted by relevance

/external/mesa3d/src/mesa/swrast/
H A Ds_copypix.c218 const GLfloat depthMaxF = ctx->DrawBuffer->_DepthMaxF; local
220 z[i] = (GLuint) (depth[i] * depthMaxF);
225 const GLdouble depthMaxF = ctx->DrawBuffer->_DepthMaxF; local
228 d = CLAMP(d, 0.0, 1.0) * depthMaxF;
229 if (d >= depthMaxF)

Completed in 88 milliseconds