Home
last modified time | relevance | path

Searched refs:chanNdx (Results 1 - 6 of 6) sorted by relevance

/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fDitheringTests.cpp173 for (int chanNdx = 0; chanNdx < 4; chanNdx++) in checkColor()
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()
204 const int renderedClrInFormat = (int)deFloatRound((float)(renderedClr.toIVec()[chanNdx] * channelMax) / 255.0f); in checkColor()
221 << "Failure: " << channelBits[chanNdx] << "-bit " << s_channelNames[chanNdx] << " channel is " << renderedClrInFormat in checkColor()
223 << " (corresponding fragment color channel is " << inputClr[chanNdx] << ")" in checkColor()
[all...]
H A Des3fTextureSwizzleTests.cpp304 for (int chanNdx = 0; chanNdx < DE_LENGTH_OF_ARRAY(channels); chanNdx++) in init()
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()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fDitheringTests.cpp173 for (int chanNdx = 0; chanNdx < 4; chanNdx++) in checkColor()
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] * channelMax) / 255.0f); in checkColor()
215 << "Failure: " << channelBits[chanNdx] << "-bit " << s_channelNames[chanNdx] << " channel is " << renderedClrInFormat in checkColor()
217 << " (corresponding fragment color channel is " << inputClr[chanNdx] << ")" in checkColor()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
H A DvktRobustnessVertexAccessTests.cpp317 for (int chanNdx = 0; chanNdx < numChannels; chanNdx++) in initPrograms()
325 attributeUse << "[" << chanNdx << "];\n"; in initPrograms() local
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/
H A DvktRobustnessVertexAccessTests.cpp321 for (int chanNdx = 0; chanNdx < numChannels; chanNdx++) in initPrograms()
329 attributeUse << "[" << chanNdx << "];\n"; in initPrograms() local
/third_party/vk-gl-cts/framework/common/
H A DtcuTexture.cpp2001 static inline float execCompare (const tcu::Vec4& color, Sampler::CompareMode compare, int chanNdx, float ref_, bool isFixedPoint) in execCompare() argument
2004 const float cmp = (clampValues) ? (de::clamp(color[chanNdx], 0.0f, 1.0f)) : (color[chanNdx]); in execCompare()

Completed in 13 milliseconds