Searched refs:FLOAT_TO_SHORT (Results 1 – 3 of 3) sorted by relevance
94 const GLshort clearR = FLOAT_TO_SHORT(ctx->Accum.ClearColor[0]); in _mesa_clear_accum_buffer()95 const GLshort clearG = FLOAT_TO_SHORT(ctx->Accum.ClearColor[1]); in _mesa_clear_accum_buffer()96 const GLshort clearB = FLOAT_TO_SHORT(ctx->Accum.ClearColor[2]); in _mesa_clear_accum_buffer()97 const GLshort clearA = FLOAT_TO_SHORT(ctx->Accum.ClearColor[3]); in _mesa_clear_accum_buffer()
83 #define FLOAT_TO_SHORT(X) ( (((GLint) (65535.0F * (X))) - 1) / 2 ) macro
1054 dst[i] = FLOAT_TO_SHORT( depthSpan[i] ); in _mesa_pack_depth_span()