Home
last modified time | relevance | path

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

/external/deqp/modules/glshared/
DglsTextureTestUtil.hpp245 return tcu::RGBA(tcu::floatToU8(v.x()), in toRGBA()
246 tcu::floatToU8(v.y()), in toRGBA()
247 tcu::floatToU8(v.z()), in toRGBA()
248 tcu::floatToU8(v.w())); in toRGBA()
253 return tcu::RGBA((mask&tcu::RGBA::RED_MASK) ? tcu::floatToU8(v.x()) : 0, in toRGBAMasked()
254 (mask&tcu::RGBA::GREEN_MASK) ? tcu::floatToU8(v.y()) : 0, in toRGBAMasked()
255 (mask&tcu::RGBA::BLUE_MASK) ? tcu::floatToU8(v.z()) : 0, in toRGBAMasked()
256 …(mask&tcu::RGBA::ALPHA_MASK) ? tcu::floatToU8(v.w()) : 0xFF); //!< \note Alpha defaults to full sa… in toRGBAMasked()
/external/deqp/framework/common/
DtcuTextureUtil.hpp112 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.cpp677 dstPtr[0] = tcu::floatToU8(m_sampleRegister[regSampleNdx].blendedRGB.x()); in executeRGBA8ColorWrite()
678 dstPtr[1] = tcu::floatToU8(m_sampleRegister[regSampleNdx].blendedRGB.y()); in executeRGBA8ColorWrite()
679 dstPtr[2] = tcu::floatToU8(m_sampleRegister[regSampleNdx].blendedRGB.z()); in executeRGBA8ColorWrite()
680 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()