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.c121 #define TO_16_UNORM(x) ((unsigned short) (x * 65535.0f)) macro
178 ATTRIB( R16G16B16A16_UNORM, 4, float, ushort, TO_16_UNORM )
179 ATTRIB( R16G16B16_UNORM, 3, float, ushort, TO_16_UNORM )
180 ATTRIB( R16G16_UNORM, 2, float, ushort, TO_16_UNORM )
181 ATTRIB( R16_UNORM, 1, float, ushort, TO_16_UNORM )