Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_generic.c125 #define TO_16_UNORM(x) ((unsigned short) (x * 65535.0f)) macro
182 ATTRIB(R16G16B16A16_UNORM, 4, float, ushort, TO_16_UNORM)
183 ATTRIB(R16G16B16_UNORM, 3, float, ushort, TO_16_UNORM)
184 ATTRIB(R16G16_UNORM, 2, float, ushort, TO_16_UNORM)
185 ATTRIB(R16_UNORM, 1, float, ushort, TO_16_UNORM)