Searched refs:floatToU8 (Results 1 – 7 of 7) sorted by relevance
42 return tcu::RGBA((mask & tcu::RGBA::RED_MASK) ? tcu::floatToU8(v.x()) : 0, in toRGBAMasked()43 (mask & tcu::RGBA::GREEN_MASK) ? tcu::floatToU8(v.y()) : 0, in toRGBAMasked()44 (mask & tcu::RGBA::BLUE_MASK) ? tcu::floatToU8(v.z()) : 0, in toRGBAMasked()46 tcu::floatToU8(v.w()) : in toRGBAMasked()
33 const uint32_t r = (uint32_t)floatToU8(v.x()); in RGBA()34 const uint32_t g = (uint32_t)floatToU8(v.y()); in RGBA()35 const uint32_t b = (uint32_t)floatToU8(v.z()); in RGBA()36 const uint32_t a = (uint32_t)floatToU8(v.w()); in RGBA()
140 inline uint8_t floatToU8(float fv) in floatToU8() function
88 ptr[0] = floatToU8(val[0]); in writeRGBA8888Float()89 ptr[1] = floatToU8(val[1]); in writeRGBA8888Float()90 ptr[2] = floatToU8(val[2]); in writeRGBA8888Float()91 ptr[3] = floatToU8(val[3]); in writeRGBA8888Float()96 ptr[0] = floatToU8(val[0]); in writeRGB888Float()97 ptr[1] = floatToU8(val[1]); in writeRGB888Float()98 ptr[2] = floatToU8(val[2]); in writeRGB888Float()
925 dstPtr[0] = tcu::floatToU8(m_sampleRegister[regSampleNdx].blendedRGB.x()); in executeRGBA8ColorWrite()926 dstPtr[1] = tcu::floatToU8(m_sampleRegister[regSampleNdx].blendedRGB.y()); in executeRGBA8ColorWrite()927 dstPtr[2] = tcu::floatToU8(m_sampleRegister[regSampleNdx].blendedRGB.z()); in executeRGBA8ColorWrite()928 dstPtr[3] = tcu::floatToU8(m_sampleRegister[regSampleNdx].blendedA); in executeRGBA8ColorWrite()
432 …const tcu::IVec4 sRGB8 = tcu::IVec4(tcu::floatToU8(sRGB[0]), tcu::floatToU8(sRGB[1]), tcu::floatTo… in mapToFormatColorRepresentable()433 tcu::floatToU8(sRGB[3])); in mapToFormatColorRepresentable()
1730 … ColorDataRGBA clear = {tcu::floatToU8(1.0f), tcu::floatToU8(0.0f), tcu::floatToU8(0.0f), in imageData()1731 tcu::floatToU8(1.0f)}; in imageData()