Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_generic.c125 #define TO_16_SNORM(x) ((short) (x * 32767.0f)) macro
183 ATTRIB( R16G16B16A16_SNORM, 4, float, short, TO_16_SNORM )
184 ATTRIB( R16G16B16_SNORM, 3, float, short, TO_16_SNORM )
185 ATTRIB( R16G16_SNORM, 2, float, short, TO_16_SNORM )
186 ATTRIB( R16_SNORM, 1, float, short, TO_16_SNORM )