Home
last modified time | relevance | path

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

/external/deqp/framework/common/
DtcuSurfaceAccess.hpp44 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()
DtcuRGBA.cpp33 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()
DtcuTextureUtil.hpp135 inline deUint8 floatToU8 (float fv) in floatToU8() function
DtcuTexture.cpp75 ptr[0] = floatToU8(val[0]); in writeRGBA8888Float()
76 ptr[1] = floatToU8(val[1]); in writeRGBA8888Float()
77 ptr[2] = floatToU8(val[2]); in writeRGBA8888Float()
78 ptr[3] = floatToU8(val[3]); in writeRGBA8888Float()
83 ptr[0] = floatToU8(val[0]); in writeRGB888Float()
84 ptr[1] = floatToU8(val[1]); in writeRGB888Float()
85 ptr[2] = floatToU8(val[2]); in writeRGB888Float()
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp678 dstPtr[0] = tcu::floatToU8(m_sampleRegister[regSampleNdx].blendedRGB.x()); in executeRGBA8ColorWrite()
679 dstPtr[1] = tcu::floatToU8(m_sampleRegister[regSampleNdx].blendedRGB.y()); in executeRGBA8ColorWrite()
680 dstPtr[2] = tcu::floatToU8(m_sampleRegister[regSampleNdx].blendedRGB.z()); in executeRGBA8ColorWrite()
681 dstPtr[3] = tcu::floatToU8(m_sampleRegister[regSampleNdx].blendedA); in executeRGBA8ColorWrite()
/external/deqp/modules/gles31/functional/
Des31fTextureBorderClampTests.cpp427 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()