Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Daccum.c142 const GLshort clearR = FLOAT_TO_SHORT(ctx->Accum.ClearColor[0]); in _mesa_clear_accum_buffer()
143 const GLshort clearG = FLOAT_TO_SHORT(ctx->Accum.ClearColor[1]); in _mesa_clear_accum_buffer()
144 const GLshort clearB = FLOAT_TO_SHORT(ctx->Accum.ClearColor[2]); in _mesa_clear_accum_buffer()
145 const GLshort clearA = FLOAT_TO_SHORT(ctx->Accum.ClearColor[3]); in _mesa_clear_accum_buffer()
Dmacros.h81 #define FLOAT_TO_SHORT(X) ( (((GLint) (65535.0F * (X))) - 1) / 2 ) macro
Dpack.c1069 dst[i] = FLOAT_TO_SHORT( depthSpan[i] ); in _mesa_pack_depth_span()