Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/swrast/
Ds_chan.h74 #define CHAN_TO_SHORT(c) (((c) << 7) | ((c) >> 1)) macro
86 #define CHAN_TO_SHORT(c) ((c) >> 1) macro
98 #define CHAN_TO_SHORT(c) ((GLshort) (CLAMP((c), 0.0f, 1.0f) * 32767.0)) macro