Searched refs:FLOAT_TO_USHORT (Results 1 – 2 of 2) sorted by relevance
71 #define FLOAT_TO_USHORT(X) ((GLuint) ((X) * 65535.0F)) macro
1791 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()