Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dmacros.h71 #define FLOAT_TO_USHORT(X) ((GLuint) ((X) * 65535.0F)) macro
Dpack.c1791 dst[i*2+0] = FLOAT_TO_USHORT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()
1792 dst[i*2+1] = FLOAT_TO_USHORT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()