Home
last modified time | relevance | path

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

/external/deqp/framework/common/
DtcuSurfaceAccess.hpp42 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()
DtcuRGBA.cpp33 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()
DtcuTextureUtil.hpp140 inline uint8_t floatToU8(float fv) in floatToU8() function
DtcuTexture.cpp88 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()
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp925 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()
/external/deqp/modules/gles31/functional/
Des31fTextureBorderClampTests.cpp432 …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()
/external/deqp/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderTests.cpp1730 … ColorDataRGBA clear = {tcu::floatToU8(1.0f), tcu::floatToU8(0.0f), tcu::floatToU8(0.0f), in imageData()
1731 tcu::floatToU8(1.0f)}; in imageData()