Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/modules/gles3/functional/
Des3fDitheringTests.cpp178 const int channelMax = (1 << channelBits[chanNdx]) - 1; in checkColor() local
179 const float scaledInput = inputClr[chanNdx] * (float)channelMax; in checkColor()
183 channelChoices.push_back(de::min(channelMax, (int)deFloatCeil(scaledInput))); in checkColor()
204 …deredClrInFormat = (int)deFloatRound((float)(renderedClr.toIVec()[chanNdx] * channelMax) / 255.0f); in checkColor()
226 << "Note: " << inputClr[chanNdx] << " * (" << channelMax + 1 << "-1) = " << scaledInput in checkColor()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fDitheringTests.cpp178 const int channelMax = (1 << channelBits[chanNdx]) - 1; in checkColor() local
179 const float scaledInput = inputClr[chanNdx] * (float)channelMax; in checkColor()
183 channelChoices.push_back(de::min(channelMax, (int)deFloatCeil(scaledInput))); in checkColor()
198 …deredClrInFormat = (int)deFloatRound((float)(renderedClr.toIVec()[chanNdx] * channelMax) / 255.0f); in checkColor()
220 << "Note: " << inputClr[chanNdx] << " * (" << channelMax + 1 << "-1) = " << scaledInput in checkColor()