Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dmacros.h120 #define SHORT_TO_UBYTE(s) ((GLubyte) ((s) < 0 ? 0 : (GLubyte) ((s) >> 7))) macro
/external/mesa3d/src/mesa/math/
Dm_translate.c230 #define TRX_UB(ub, f,n) ub = SHORT_TO_UBYTE(PTR_ELT(f,n))