Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/framework/randomshaders/
DrsgUtils.cpp209 int rangeLen = rnd.getInt(0, maxRangeLen); in computeRandomValueRange() local
210 int minVal = minIntVal + rnd.getInt(0, maxRangeLen-rangeLen); in computeRandomValueRange()
211 int maxVal = minVal + rangeLen; in computeRandomValueRange()
225 int rangeLen = rnd.getInt(0, maxSteps); in computeRandomValueRange() local
226 int minStep = rnd.getInt(0, maxSteps-rangeLen); in computeRandomValueRange()
229 float maxVal = minVal + step*(float)rangeLen; in computeRandomValueRange()
DrsgBinaryOps.cpp555 T rangeLen = dstMax-dstMin; in operator ()() local
556 T subRangeLen = GetRandom()(random, T(0), rangeLen); in operator ()()
563 bMax = -aOffset+(rangeLen-subRangeLen); in operator ()()
605 T rangeLen = dstMax-dstMin; in operator ()() local
606 T subRangeLen = GetRandom()(random, T(0), rangeLen); in operator ()()
612 bMin = aOffset-(rangeLen-subRangeLen); in operator ()()
DrsgExpression.cpp186 int rangeLen = rnd.getInt(0, maxRangeLen); in computeRandomValueRangeForInfElements() local
187 int minVal = minIntVal + rnd.getInt(0, maxRangeLen-rangeLen); in computeRandomValueRangeForInfElements()
188 int maxVal = minVal + rangeLen; in computeRandomValueRangeForInfElements()
206 int rangeLen = rnd.getInt(0, maxSteps); in computeRandomValueRangeForInfElements() local
207 int minStep = rnd.getInt(0, maxSteps-rangeLen); in computeRandomValueRangeForInfElements()
210 float maxVal = minVal + step*(float)rangeLen; in computeRandomValueRangeForInfElements()