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.c128 #define TO_16_SNORM(x) ((short) (x * 32767.0f)) macro
186 ATTRIB(R16G16B16A16_SNORM, 4, float, short, TO_16_SNORM)
187 ATTRIB(R16G16B16_SNORM, 3, float, short, TO_16_SNORM)
188 ATTRIB(R16G16_SNORM, 2, float, short, TO_16_SNORM)
189 ATTRIB(R16_SNORM, 1, float, short, TO_16_SNORM)