Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/main/
Daccum.c95 const GLshort clearR = FLOAT_TO_SHORT(ctx->Accum.ClearColor[0]); in _mesa_clear_accum_buffer()
96 const GLshort clearG = FLOAT_TO_SHORT(ctx->Accum.ClearColor[1]); in _mesa_clear_accum_buffer()
97 const GLshort clearB = FLOAT_TO_SHORT(ctx->Accum.ClearColor[2]); in _mesa_clear_accum_buffer()
98 const GLshort clearA = FLOAT_TO_SHORT(ctx->Accum.ClearColor[3]); in _mesa_clear_accum_buffer()
Dmacros.h83 #define FLOAT_TO_SHORT(X) ( (((GLint) (65535.0F * (X))) - 1) / 2 ) macro
Dpack.c1055 dst[i] = FLOAT_TO_SHORT( depthSpan[i] ); in _mesa_pack_depth_span()