Home
last modified time | relevance | path

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

/external/deqp/external/openglcts/modules/gles3/
Des3cCopyTexImageConversionsTests.cpp348 bool convertNormalizedUnsignedFixedPoint(int* src_input_rgba_bits, int* src_attachment_rgba_bits,
590 …abase::convertNormalizedUnsignedFixedPoint(int* src_input_rgba_bits, int* src_attachment_rgba_bits, in convertNormalizedUnsignedFixedPoint() argument
602 int bit_diffs_src_intermediate[] = { abs(src_input_rgba_bits[0] - src_attachment_rgba_bits[0]), in convertNormalizedUnsignedFixedPoint()
603 abs(src_input_rgba_bits[1] - src_attachment_rgba_bits[1]), in convertNormalizedUnsignedFixedPoint()
604 abs(src_input_rgba_bits[2] - src_attachment_rgba_bits[2]), in convertNormalizedUnsignedFixedPoint()
605 abs(src_input_rgba_bits[3] - src_attachment_rgba_bits[3]) }; in convertNormalizedUnsignedFixedPoint()
612 tmp *= (float)((1 << src_attachment_rgba_bits[n]) - 1); 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()
[all …]