Lines Matching defs:bits
1056 const tcu::IVec4 bits = tcu::getTextureFormatMantissaBitDepth(format);
1058 return tcu::RGBA(calculateU8ConversionError(bits.x()),
1059 calculateU8ConversionError(bits.y()),
1060 calculateU8ConversionError(bits.z()),
1061 calculateU8ConversionError(bits.w()));
1076 1, // 0 bits - rounding
1077 255, // 1 bits
1078 157, // 2 bits
1079 106, // 3 bits
1080 74, // 4 bits
1081 51, // 5 bits
1082 34, // 6 bits
1083 22, // 7 bits
1084 13, // 8 bits
1085 7, // 9 bits
1086 4, // 10 bits
1087 3, // 11 bits
1088 2, // 12 bits
1104 const tcu::IVec4 bits = tcu::getTextureFormatMantissaBitDepth(src);
1107 return tcu::RGBA(getToSRGB8ConversionError(bits.x()),
1108 getToSRGB8ConversionError(bits.y()),
1109 getToSRGB8ConversionError(bits.z()),
1110 dstHasAlpha ? calculateU8ConversionError(bits.w()) : 0);