Home
last modified time | relevance | path

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

/external/deqp/external/openglcts/modules/gles3/
Des3cCopyTexImageConversionsTests.cpp596 float dst_rgba_f[4] = { 0.0f }; in convertNormalizedUnsignedFixedPoint() local
635 dst_rgba_f[0] = (r_f32 * (float)((1 << dst_attachment_rgba_bits[0]) - 1)); in convertNormalizedUnsignedFixedPoint()
636 dst_rgba_f[1] = (g_f32 * (float)((1 << dst_attachment_rgba_bits[1]) - 1)); in convertNormalizedUnsignedFixedPoint()
637 dst_rgba_f[2] = (b_f32 * (float)((1 << dst_attachment_rgba_bits[2]) - 1)); in convertNormalizedUnsignedFixedPoint()
638 dst_rgba_f[3] = (a_f32 * (float)((1 << dst_attachment_rgba_bits[3]) - 1)); in convertNormalizedUnsignedFixedPoint()
656 if (deFloatMod(dst_rgba_f[n], 1.0f) >= 0.5f) in convertNormalizedUnsignedFixedPoint()
657 dst_rgba_f[n] = deFloatCeil(dst_rgba_f[n]); in convertNormalizedUnsignedFixedPoint()
661 dst_rgba[0] = ((unsigned int)dst_rgba_f[0]); in convertNormalizedUnsignedFixedPoint()
662 dst_rgba[1] = ((unsigned int)dst_rgba_f[1]); in convertNormalizedUnsignedFixedPoint()
663 dst_rgba[2] = ((unsigned int)dst_rgba_f[2]); in convertNormalizedUnsignedFixedPoint()
[all …]