Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/main/
Dmacros.h59 #define FLOAT_TO_BYTE(X) ( (((GLint) (255.0F * (X))) - 1) / 2 ) macro
Dpack.c1034 dst[i] = FLOAT_TO_BYTE( depthSpan[i] ); in _mesa_pack_depth_span()