Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/external/openglcts/modules/gles3/
Des3cCopyTexImageConversionsTests.cpp349 int* dst_attachment_rgba_bits, int* dst_output_rgba_bits, int* src_rgba,
591 int* dst_attachment_rgba_bits, int* dst_output_rgba_bits, in convertNormalizedUnsignedFixedPoint() argument
638 dst_rgba_f[0] = (r_f32 * (float)((1 << dst_attachment_rgba_bits[0]) - 1)); in convertNormalizedUnsignedFixedPoint()
639 dst_rgba_f[1] = (g_f32 * (float)((1 << dst_attachment_rgba_bits[1]) - 1)); in convertNormalizedUnsignedFixedPoint()
640 dst_rgba_f[2] = (b_f32 * (float)((1 << dst_attachment_rgba_bits[2]) - 1)); in convertNormalizedUnsignedFixedPoint()
641 dst_rgba_f[3] = (a_f32 * (float)((1 << dst_attachment_rgba_bits[3]) - 1)); in convertNormalizedUnsignedFixedPoint()
671 if (dst_attachment_rgba_bits[n] != 0) in convertNormalizedUnsignedFixedPoint()
673 float tmp = ((float)dst_rgba[n]) / ((1 << dst_attachment_rgba_bits[n]) - 1); in convertNormalizedUnsignedFixedPoint()