Searched refs:chanNdx (Results 1 – 5 of 5) sorted by relevance
173 for (int chanNdx = 0; chanNdx < 4; chanNdx++) in checkColor() local175 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()
304 for (int chanNdx = 0; chanNdx < DE_LENGTH_OF_ARRAY(channels); chanNdx++) in init() local308 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()
287 for (int chanNdx = 0; chanNdx < numChannels; chanNdx++) in initPrograms() local295 attributeUse << "[" << chanNdx << "];\n"; in initPrograms()
1716 static inline float execCompare (const tcu::Vec4& color, Sampler::CompareMode compare, int chanNdx,… in execCompare() argument1719 const float cmp = (clampValues) ? (de::clamp(color[chanNdx], 0.0f, 1.0f)) : (color[chanNdx]); in execCompare()