Home | History | Annotate | Download | only in functional

Lines Matching defs:bits

929 				// \note glReadPixels() allows only 8 bits to be read. This means that RGB10_A2 will loose some
930 // bits in the process and it must be taken into account when computing threshold.
931 const IVec4 bits = min(IVec4(8), tcu::getTextureFormatBitDepth(format));
932 const Vec4 baseThreshold = 1.0f / ((IVec4(1) << bits)-1).asFloat();