Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_generic.c128 #define TO_8_SNORM(x) ((char) (x * 127.0f)) macro
207 ATTRIB(R8G8B8A8_SNORM, 4, float, char, TO_8_SNORM)
208 ATTRIB(R8G8B8_SNORM, 3, float, char, TO_8_SNORM)
209 ATTRIB(R8G8_SNORM, 2, float, char, TO_8_SNORM)
210 ATTRIB(R8_SNORM, 1, float, char, TO_8_SNORM)