Searched refs:floatToU8 (Results 1 – 7 of 7) sorted by relevance
44 return tcu::RGBA((mask&tcu::RGBA::RED_MASK) ? tcu::floatToU8(v.x()) : 0, in toRGBAMasked()45 (mask&tcu::RGBA::GREEN_MASK) ? tcu::floatToU8(v.y()) : 0, in toRGBAMasked()46 (mask&tcu::RGBA::BLUE_MASK) ? tcu::floatToU8(v.z()) : 0, in toRGBAMasked()47 …(mask&tcu::RGBA::ALPHA_MASK) ? tcu::floatToU8(v.w()) : 0xFF); //!< \note Alpha defaults to full sa… in toRGBAMasked()
33 const deUint32 r = (deUint32)floatToU8(v.x()); in RGBA()34 const deUint32 g = (deUint32)floatToU8(v.y()); in RGBA()35 const deUint32 b = (deUint32)floatToU8(v.z()); in RGBA()36 const deUint32 a = (deUint32)floatToU8(v.w()); in RGBA()
137 inline deUint8 floatToU8 (float fv) in floatToU8() function
76 ptr[0] = floatToU8(val[0]); in writeRGBA8888Float()77 ptr[1] = floatToU8(val[1]); in writeRGBA8888Float()78 ptr[2] = floatToU8(val[2]); in writeRGBA8888Float()79 ptr[3] = floatToU8(val[3]); in writeRGBA8888Float()84 ptr[0] = floatToU8(val[0]); in writeRGB888Float()85 ptr[1] = floatToU8(val[1]); in writeRGB888Float()86 ptr[2] = floatToU8(val[2]); in writeRGB888Float()
730 dstPtr[0] = tcu::floatToU8(m_sampleRegister[regSampleNdx].blendedRGB.x()); in executeRGBA8ColorWrite()731 dstPtr[1] = tcu::floatToU8(m_sampleRegister[regSampleNdx].blendedRGB.y()); in executeRGBA8ColorWrite()732 dstPtr[2] = tcu::floatToU8(m_sampleRegister[regSampleNdx].blendedRGB.z()); in executeRGBA8ColorWrite()733 dstPtr[3] = tcu::floatToU8(m_sampleRegister[regSampleNdx].blendedA); in executeRGBA8ColorWrite()
427 const tcu::IVec4 sRGB8 = tcu::IVec4(tcu::floatToU8(sRGB[0]), in mapToFormatColorRepresentable()428 tcu::floatToU8(sRGB[1]), in mapToFormatColorRepresentable()429 tcu::floatToU8(sRGB[2]), in mapToFormatColorRepresentable()430 tcu::floatToU8(sRGB[3])); in mapToFormatColorRepresentable()
1352 tcu::floatToU8 (1.0f), in imageData()1353 tcu::floatToU8 (0.0f), in imageData()1354 tcu::floatToU8 (0.0f), in imageData()1355 tcu::floatToU8 (1.0f) in imageData()