Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dmacros.h128 #define SHORT_TO_USHORT(s) ((s) < 0 ? 0 : ((GLushort) (((s) * 65535 / 32767)))) macro
/external/mesa3d/src/mesa/math/
Dm_translate.c231 #define TRX_US(us, f,n) us = SHORT_TO_USHORT(PTR_ELT(f,n))