Lines Matching refs:cmpReference
67 …const float cmpReference = (clampValues) ? (de::clamp(cmpReference_, 0.0f, 1.0f)) : (cmpReference… in execCompare() local
74 res.isTrue = cmpReference-err < cmpValue; in execCompare()
75 res.isFalse = cmpReference+err >= cmpValue; in execCompare()
79 res.isTrue = cmpReference-err <= cmpValue; in execCompare()
80 res.isFalse = cmpReference+err > cmpValue; in execCompare()
84 res.isTrue = cmpReference+err > cmpValue; in execCompare()
85 res.isFalse = cmpReference-err <= cmpValue; in execCompare()
89 res.isTrue = cmpReference+err >= cmpValue; in execCompare()
90 res.isFalse = cmpReference-err < cmpValue; in execCompare()
94 res.isTrue = de::inRange(cmpValue, cmpReference-err, cmpReference+err); in execCompare()
95 res.isFalse = err != 0.0f || cmpValue != cmpReference; in execCompare()
99 res.isTrue = err != 0.0f || cmpValue != cmpReference; in execCompare()
100 res.isFalse = de::inRange(cmpValue, cmpReference-err, cmpReference+err); in execCompare()
196 const float cmpReference, in isLinearCompareValid() argument
205 …const CmpResultSet cmp0 = execCompare(compareMode, d0, cmpReference, prec.referenceBits, isFixedP… in isLinearCompareValid()
206 …const CmpResultSet cmp1 = execCompare(compareMode, d1, cmpReference, prec.referenceBits, isFixedP… in isLinearCompareValid()
260 const float cmpReference, in isBilinearAnyCompareValid() argument
271 …const CmpResultSet cmp0 = execCompare(compareMode, d0, cmpReference, prec.referenceBits, isFixedP… in isBilinearAnyCompareValid()
272 …const CmpResultSet cmp1 = execCompare(compareMode, d1, cmpReference, prec.referenceBits, isFixedP… in isBilinearAnyCompareValid()
273 …const CmpResultSet cmp2 = execCompare(compareMode, d2, cmpReference, prec.referenceBits, isFixedP… in isBilinearAnyCompareValid()
274 …const CmpResultSet cmp3 = execCompare(compareMode, d3, cmpReference, prec.referenceBits, isFixedP… in isBilinearAnyCompareValid()
292 const float cmpReference, in isBilinearPCFCompareValid() argument
305 …const CmpResultSet cmp0 = execCompare(compareMode, d0, cmpReference, prec.referenceBits, isFixedP… in isBilinearPCFCompareValid()
306 …const CmpResultSet cmp1 = execCompare(compareMode, d1, cmpReference, prec.referenceBits, isFixedP… in isBilinearPCFCompareValid()
307 …const CmpResultSet cmp2 = execCompare(compareMode, d2, cmpReference, prec.referenceBits, isFixedP… in isBilinearPCFCompareValid()
308 …const CmpResultSet cmp3 = execCompare(compareMode, d3, cmpReference, prec.referenceBits, isFixedP… in isBilinearPCFCompareValid()
365 const float cmpReference, in isBilinearCompareValid() argument
370 …return isBilinearPCFCompareValid(compareMode, prec, depths, xBounds, yBounds, cmpReference, result… in isBilinearCompareValid()
372 …return isBilinearAnyCompareValid(compareMode, prec, depths, cmpReference, result, isFixedPointDept… in isBilinearCompareValid()
379 const float cmpReference, in isTrilinearAnyCompareValid() argument
385 …const CmpResultSet cmp00 = execCompare(compareMode, depths0[0], cmpReference, prec.referenceBits,… in isTrilinearAnyCompareValid()
386 …const CmpResultSet cmp01 = execCompare(compareMode, depths0[1], cmpReference, prec.referenceBits,… in isTrilinearAnyCompareValid()
387 …const CmpResultSet cmp02 = execCompare(compareMode, depths0[2], cmpReference, prec.referenceBits,… in isTrilinearAnyCompareValid()
388 …const CmpResultSet cmp03 = execCompare(compareMode, depths0[3], cmpReference, prec.referenceBits,… in isTrilinearAnyCompareValid()
390 …const CmpResultSet cmp10 = execCompare(compareMode, depths1[0], cmpReference, prec.referenceBits,… in isTrilinearAnyCompareValid()
391 …const CmpResultSet cmp11 = execCompare(compareMode, depths1[1], cmpReference, prec.referenceBits,… in isTrilinearAnyCompareValid()
392 …const CmpResultSet cmp12 = execCompare(compareMode, depths1[2], cmpReference, prec.referenceBits,… in isTrilinearAnyCompareValid()
393 …const CmpResultSet cmp13 = execCompare(compareMode, depths1[3], cmpReference, prec.referenceBits,… in isTrilinearAnyCompareValid()
429 const float cmpReference, in isTrilinearPCFCompareValid() argument
440 …const CmpResultSet cmp00 = execCompare(compareMode, depths0[0], cmpReference, prec.referenceBits,… in isTrilinearPCFCompareValid()
441 …const CmpResultSet cmp01 = execCompare(compareMode, depths0[1], cmpReference, prec.referenceBits,… in isTrilinearPCFCompareValid()
442 …const CmpResultSet cmp02 = execCompare(compareMode, depths0[2], cmpReference, prec.referenceBits,… in isTrilinearPCFCompareValid()
443 …const CmpResultSet cmp03 = execCompare(compareMode, depths0[3], cmpReference, prec.referenceBits,… in isTrilinearPCFCompareValid()
445 …const CmpResultSet cmp10 = execCompare(compareMode, depths1[0], cmpReference, prec.referenceBits,… in isTrilinearPCFCompareValid()
446 …const CmpResultSet cmp11 = execCompare(compareMode, depths1[1], cmpReference, prec.referenceBits,… in isTrilinearPCFCompareValid()
447 …const CmpResultSet cmp12 = execCompare(compareMode, depths1[2], cmpReference, prec.referenceBits,… in isTrilinearPCFCompareValid()
448 …const CmpResultSet cmp13 = execCompare(compareMode, depths1[3], cmpReference, prec.referenceBits,… in isTrilinearPCFCompareValid()
530 const float cmpReference, in isTrilinearCompareValid() argument
535 …c, depths0, depths1, xBounds0, yBounds0, xBounds1, yBounds1, fBounds, cmpReference, result, isFixe… in isTrilinearCompareValid()
537 …return isTrilinearAnyCompareValid(compareMode, prec, depths0, depths1, cmpReference, result, isFix… in isTrilinearCompareValid()
545 const float cmpReference, in isNearestCompareResultValid() argument
565 …const CmpResultSet resSet = execCompare(sampler.compare, depth, cmpReference, prec.referenceBits, … in isNearestCompareResultValid()
580 const float cmpReference, in isLinearCompareResultValid() argument
619 …id(sampler.compare, prec, depths, Vec2(minA, maxA), Vec2(minB, maxB), cmpReference, result, isFixe… in isLinearCompareResultValid()
633 const float cmpReference, in isLevelCompareResultValid() argument
637 return isLinearCompareResultValid(level, sampler, prec, coord, coordZ, cmpReference, result); in isLevelCompareResultValid()
639 return isNearestCompareResultValid(level, sampler, prec, coord, coordZ, cmpReference, result); in isLevelCompareResultValid()
649 const float cmpReference, in isNearestMipmapLinearCompareResultValid() argument
686 …if (isLinearCompareValid(sampler.compare, prec, Vec2(depth0, depth1), fBounds, cmpReference, resul… in isNearestMipmapLinearCompareResultValid()
703 const float cmpReference, in isLinearMipmapLinearCompareResultValid() argument
778 fBounds, cmpReference, result, isFixedPointDepth)) in isLinearMipmapLinearCompareResultValid()
796 const float cmpReference, in isMipmapLinearCompareResultValid() argument
800 …earCompareResultValid(level0, level1, sampler, prec, coord, coordZ, fBounds, cmpReference, result); in isMipmapLinearCompareResultValid()
802 …earCompareResultValid(level0, level1, sampler, prec, coord, coordZ, fBounds, cmpReference, result); in isMipmapLinearCompareResultValid()
810 const float cmpReference, in isTexCompareResultValid() argument
822 …ResultValid(texture.getLevel(0), sampler, sampler.magFilter, prec, coord, 0, cmpReference, result)) in isTexCompareResultValid()
847 …ampler, getLevelFilter(sampler.minFilter), prec, coord, 0, Vec2(minF, maxF), cmpReference, result)) in isTexCompareResultValid()
862 …getLevel(level), sampler, getLevelFilter(sampler.minFilter), prec, coord, 0, cmpReference, result)) in isTexCompareResultValid()
868 …ResultValid(texture.getLevel(0), sampler, sampler.minFilter, prec, coord, 0, cmpReference, result)) in isTexCompareResultValid()
882 const float cmpReference, in isSeamplessLinearMipmapLinearCompareResultValid() argument
969 fBounds, cmpReference, result, isFixedPointDepth)) in isSeamplessLinearMipmapLinearCompareResultValid()
986 const float cmpReference, in isCubeMipmapLinearCompareResultValid() argument
992 …earCompareResultValid(texture, baseLevelNdx, sampler, prec, coords, fBounds, cmpReference, result); in isCubeMipmapLinearCompareResultValid()
996 sampler, prec, Vec2(coords.s, coords.t), 0, fBounds, cmpReference, result); in isCubeMipmapLinearCompareResultValid()
1001 sampler, prec, Vec2(coords.s, coords.t), 0, fBounds, cmpReference, result); in isCubeMipmapLinearCompareResultValid()
1009 const float cmpReference, in isSeamlessLinearCompareResultValid() argument
1055 …id(sampler.compare, prec, depths, Vec2(minA, maxA), Vec2(minB, maxB), cmpReference, result, isFixe… in isSeamlessLinearCompareResultValid()
1069 const float cmpReference, in isCubeLevelCompareResultValid() argument
1075 …return isSeamlessLinearCompareResultValid(texture, levelNdx, sampler, prec, coords, cmpReference, … in isCubeLevelCompareResultValid()
1077 …evelFace(levelNdx, coords.face), sampler, prec, Vec2(coords.s, coords.t), 0, cmpReference, result); in isCubeLevelCompareResultValid()
1080 …evelFace(levelNdx, coords.face), sampler, prec, Vec2(coords.s, coords.t), 0, cmpReference, result); in isCubeLevelCompareResultValid()
1083 …recision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmpReference, const float re… in isTexCompareResultValid() argument
1105 …CompareResultValid(texture, 0, sampler, sampler.magFilter, prec, faceCoords, cmpReference, result)) in isTexCompareResultValid()
1130 …pler, getLevelFilter(sampler.minFilter), prec, faceCoords, Vec2(minF, maxF), cmpReference, result)) in isTexCompareResultValid()
1145 …exture, level, sampler, getLevelFilter(sampler.minFilter), prec, faceCoords, cmpReference, result)) in isTexCompareResultValid()
1151 …CompareResultValid(texture, 0, sampler, sampler.minFilter, prec, faceCoords, cmpReference, result)) in isTexCompareResultValid()
1160 …recision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmpReference, const float re… in isTexCompareResultValid() argument
1179 …re.getLevel(0), sampler, sampler.magFilter, prec, coord.swizzle(0,1), layer, cmpReference, result)) in isTexCompareResultValid()
1204 …ilter(sampler.minFilter), prec, coord.swizzle(0,1), layer, Vec2(minF, maxF), cmpReference, result)) in isTexCompareResultValid()
1219 …sampler, getLevelFilter(sampler.minFilter), prec, coord.swizzle(0,1), layer, cmpReference, result)) in isTexCompareResultValid()
1225 …re.getLevel(0), sampler, sampler.minFilter, prec, coord.swizzle(0,1), layer, cmpReference, result)) in isTexCompareResultValid()
1240 float cmpReference, in isGatherOffsetsCompareResultValid() argument
1268 …const CmpResultSet resSet = execCompare(sampler.compare, depth, cmpReference, prec.referenceBits, … in isGatherOffsetsCompareResultValid()
1287 float cmpReference, in isGatherOffsetsCompareResultValid() argument
1292 …etsCompareResultValid(texture.getLevel(0), sampler, prec, coord, 0, offsets, cmpReference, result); in isGatherOffsetsCompareResultValid()
1300 float cmpReference, in isGatherOffsetsCompareResultValid() argument
1313 …alid(texture.getLevel(0), sampler, prec, coord.swizzle(0,1), layer, offsets, cmpReference, result)) in isGatherOffsetsCompareResultValid()
1323 float cmpReference, in isGatherCompareResultValid() argument
1366 …const CmpResultSet resSet = execCompare(sampler.compare, depth, cmpReference, prec.referenceBits, … in isGatherCompareResultValid()
1384 float cmpReference, in isGatherCompareResultValid() argument
1401 if (isGatherCompareResultValid(texture, sampler, prec, faceCoords, cmpReference, result)) in isGatherCompareResultValid()