Searched refs:FLOAT_TO_BYTE (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/mesa/main/ | ||
D | macros.h | 59 #define FLOAT_TO_BYTE(X) ( (((GLint) (255.0F * (X))) - 1) / 2 ) macro |
D | pack.c | 1034 dst[i] = FLOAT_TO_BYTE( depthSpan[i] ); in _mesa_pack_depth_span() |