Home
last modified time | relevance | path

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

/external/deqp/external/openglcts/modules/gles3/
Des3cCopyTexImageConversionsTests.cpp599 int src_rgba_intermediate[4] = { src_rgba[0], src_rgba[1], src_rgba[2], src_rgba[3] }; in convertNormalizedUnsignedFixedPoint() local
609 float tmp = ((float)src_rgba_intermediate[n]) / ((1 << src_input_rgba_bits[n]) - 1); in convertNormalizedUnsignedFixedPoint()
613 src_rgba_intermediate[n] = (int)(0.5 + tmp); in convertNormalizedUnsignedFixedPoint()
617 r_f32 = ((float)src_rgba_intermediate[0]) / (float)((1 << src_attachment_rgba_bits[0]) - 1); in convertNormalizedUnsignedFixedPoint()
618 g_f32 = ((float)src_rgba_intermediate[1]) / (float)((1 << src_attachment_rgba_bits[1]) - 1); in convertNormalizedUnsignedFixedPoint()
619 b_f32 = ((float)src_rgba_intermediate[2]) / (float)((1 << src_attachment_rgba_bits[2]) - 1); in convertNormalizedUnsignedFixedPoint()
620 a_f32 = ((float)src_rgba_intermediate[3]) / (float)((1 << src_attachment_rgba_bits[3]) - 1); in convertNormalizedUnsignedFixedPoint()