Home
last modified time | relevance | path

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

/external/deqp/modules/gles2/functional/
Des2fDitheringTests.cpp173 for (int chanNdx = 0; chanNdx < 4; chanNdx++) in checkColor() local
175 if (channelBits[chanNdx] == 0) in checkColor()
178 const int channelMax = (1 << channelBits[chanNdx]) - 1; in checkColor()
179 const float scaledInput = inputClr[chanNdx] * (float)channelMax; in checkColor()
198 …const int renderedClrInFormat = (int)deFloatRound((float)(renderedClr.toIVec()[chanNdx] * channel… in checkColor()
215 …<< "Failure: " << channelBits[chanNdx] << "-bit " << s_channelNames[chanNdx] << " channel is " << … in checkColor()
217 << " (corresponding fragment color channel is " << inputClr[chanNdx] << ")" in checkColor()
220 << "Note: " << inputClr[chanNdx] << " * (" << channelMax + 1 << "-1) = " << scaledInput in checkColor()
/external/deqp/modules/gles3/functional/
Des3fDitheringTests.cpp173 for (int chanNdx = 0; chanNdx < 4; chanNdx++) in checkColor() local
175 if (channelBits[chanNdx] == 0) in checkColor()
178 const int channelMax = (1 << channelBits[chanNdx]) - 1; in checkColor()
179 const float scaledInput = inputClr[chanNdx] * (float)channelMax; in checkColor()
198 …const int renderedClrInFormat = (int)deFloatRound((float)(renderedClr.toIVec()[chanNdx] * channel… in checkColor()
215 …<< "Failure: " << channelBits[chanNdx] << "-bit " << s_channelNames[chanNdx] << " channel is " << … in checkColor()
217 << " (corresponding fragment color channel is " << inputClr[chanNdx] << ")" in checkColor()
220 << "Note: " << inputClr[chanNdx] << " * (" << channelMax + 1 << "-1) = " << scaledInput in checkColor()
Des3fTextureSwizzleTests.cpp304 for (int chanNdx = 0; chanNdx < DE_LENGTH_OF_ARRAY(channels); chanNdx++) in init() local
308 if (swizzles[swzNdx].swizzle == defaultSwizzles[chanNdx]) in init()
311 string name = string(channels[chanNdx].name) + "_" + swizzles[swzNdx].name; in init()
313 deUint32 swzR = (chanNdx == 0) ? swz : defaultSwizzles[0]; in init()
314 deUint32 swzG = (chanNdx == 1) ? swz : defaultSwizzles[1]; in init()
315 deUint32 swzB = (chanNdx == 2) ? swz : defaultSwizzles[2]; in init()
316 deUint32 swzA = (chanNdx == 3) ? swz : defaultSwizzles[3]; in init()
/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessVertexAccessTests.cpp287 for (int chanNdx = 0; chanNdx < numChannels; chanNdx++) in initPrograms() local
295 attributeUse << "[" << chanNdx << "];\n"; in initPrograms()
/external/deqp/framework/common/
DtcuTexture.cpp1716 static inline float execCompare (const tcu::Vec4& color, Sampler::CompareMode compare, int chanNdx,… in execCompare() argument
1719 const float cmp = (clampValues) ? (de::clamp(color[chanNdx], 0.0f, 1.0f)) : (color[chanNdx]); in execCompare()