Lines Matching refs:prec

191 								  const TexComparePrecision&	prec,  in isLinearCompareValid()  argument
203 …const CmpResultSet cmp0 = execCompare(compareMode, d0, cmpReference, prec.referenceBits, isFixedP… in isLinearCompareValid()
204 …const CmpResultSet cmp1 = execCompare(compareMode, d1, cmpReference, prec.referenceBits, isFixedP… in isLinearCompareValid()
216 const float pcfErr = computeFixedPointError(prec.pcfBits); in isLinearCompareValid()
217 const float resErr = computeFixedPointError(prec.resultBits); in isLinearCompareValid()
256 const TexComparePrecision& prec, in isBilinearAnyCompareValid() argument
262 DE_ASSERT(prec.pcfBits == 0); in isBilinearAnyCompareValid()
269 …const CmpResultSet cmp0 = execCompare(compareMode, d0, cmpReference, prec.referenceBits, isFixedP… in isBilinearAnyCompareValid()
270 …const CmpResultSet cmp1 = execCompare(compareMode, d1, cmpReference, prec.referenceBits, isFixedP… in isBilinearAnyCompareValid()
271 …const CmpResultSet cmp2 = execCompare(compareMode, d2, cmpReference, prec.referenceBits, isFixedP… in isBilinearAnyCompareValid()
272 …const CmpResultSet cmp3 = execCompare(compareMode, d3, cmpReference, prec.referenceBits, isFixedP… in isBilinearAnyCompareValid()
277 const float resErr = computeFixedPointError(prec.resultBits); in isBilinearAnyCompareValid()
286 const TexComparePrecision& prec, in isBilinearPCFCompareValid() argument
296 DE_ASSERT(prec.pcfBits > 0); in isBilinearPCFCompareValid()
303 …const CmpResultSet cmp0 = execCompare(compareMode, d0, cmpReference, prec.referenceBits, isFixedP… in isBilinearPCFCompareValid()
304 …const CmpResultSet cmp1 = execCompare(compareMode, d1, cmpReference, prec.referenceBits, isFixedP… in isBilinearPCFCompareValid()
305 …const CmpResultSet cmp2 = execCompare(compareMode, d2, cmpReference, prec.referenceBits, isFixedP… in isBilinearPCFCompareValid()
306 …const CmpResultSet cmp3 = execCompare(compareMode, d3, cmpReference, prec.referenceBits, isFixedP… in isBilinearPCFCompareValid()
324 const float pcfErr = computeFixedPointError(prec.pcfBits); in isBilinearPCFCompareValid()
325 const float resErr = computeFixedPointError(prec.resultBits); in isBilinearPCFCompareValid()
359 const TexComparePrecision& prec, in isBilinearCompareValid() argument
367 if (prec.pcfBits > 0) in isBilinearCompareValid()
368 …return isBilinearPCFCompareValid(compareMode, prec, depths, xBounds, yBounds, cmpReference, result… in isBilinearCompareValid()
370 …return isBilinearAnyCompareValid(compareMode, prec, depths, cmpReference, result, isFixedPointDept… in isBilinearCompareValid()
374 const TexComparePrecision& prec, in isTrilinearAnyCompareValid() argument
381 DE_ASSERT(prec.pcfBits == 0); in isTrilinearAnyCompareValid()
383 …const CmpResultSet cmp00 = execCompare(compareMode, depths0[0], cmpReference, prec.referenceBits,… in isTrilinearAnyCompareValid()
384 …const CmpResultSet cmp01 = execCompare(compareMode, depths0[1], cmpReference, prec.referenceBits,… in isTrilinearAnyCompareValid()
385 …const CmpResultSet cmp02 = execCompare(compareMode, depths0[2], cmpReference, prec.referenceBits,… in isTrilinearAnyCompareValid()
386 …const CmpResultSet cmp03 = execCompare(compareMode, depths0[3], cmpReference, prec.referenceBits,… in isTrilinearAnyCompareValid()
388 …const CmpResultSet cmp10 = execCompare(compareMode, depths1[0], cmpReference, prec.referenceBits,… in isTrilinearAnyCompareValid()
389 …const CmpResultSet cmp11 = execCompare(compareMode, depths1[1], cmpReference, prec.referenceBits,… in isTrilinearAnyCompareValid()
390 …const CmpResultSet cmp12 = execCompare(compareMode, depths1[2], cmpReference, prec.referenceBits,… in isTrilinearAnyCompareValid()
391 …const CmpResultSet cmp13 = execCompare(compareMode, depths1[3], cmpReference, prec.referenceBits,… in isTrilinearAnyCompareValid()
410 const float resErr = computeFixedPointError(prec.resultBits); in isTrilinearAnyCompareValid()
419 const TexComparePrecision& prec, in isTrilinearPCFCompareValid() argument
436 DE_ASSERT(prec.pcfBits > 0); in isTrilinearPCFCompareValid()
438 …const CmpResultSet cmp00 = execCompare(compareMode, depths0[0], cmpReference, prec.referenceBits,… in isTrilinearPCFCompareValid()
439 …const CmpResultSet cmp01 = execCompare(compareMode, depths0[1], cmpReference, prec.referenceBits,… in isTrilinearPCFCompareValid()
440 …const CmpResultSet cmp02 = execCompare(compareMode, depths0[2], cmpReference, prec.referenceBits,… in isTrilinearPCFCompareValid()
441 …const CmpResultSet cmp03 = execCompare(compareMode, depths0[3], cmpReference, prec.referenceBits,… in isTrilinearPCFCompareValid()
443 …const CmpResultSet cmp10 = execCompare(compareMode, depths1[0], cmpReference, prec.referenceBits,… in isTrilinearPCFCompareValid()
444 …const CmpResultSet cmp11 = execCompare(compareMode, depths1[1], cmpReference, prec.referenceBits,… in isTrilinearPCFCompareValid()
445 …const CmpResultSet cmp12 = execCompare(compareMode, depths1[2], cmpReference, prec.referenceBits,… in isTrilinearPCFCompareValid()
446 …const CmpResultSet cmp13 = execCompare(compareMode, depths1[3], cmpReference, prec.referenceBits,… in isTrilinearPCFCompareValid()
466 const float pcfErr = computeFixedPointError(prec.pcfBits); in isTrilinearPCFCompareValid()
467 const float resErr = computeFixedPointError(prec.resultBits); in isTrilinearPCFCompareValid()
520 const TexComparePrecision& prec, in isTrilinearCompareValid() argument
532 if (prec.pcfBits > 0) in isTrilinearCompareValid()
533 …return isTrilinearPCFCompareValid(compareMode, prec, depths0, depths1, xBounds0, yBounds0, xBounds… in isTrilinearCompareValid()
535 …return isTrilinearAnyCompareValid(compareMode, prec, depths0, depths1, cmpReference, result, isFix… in isTrilinearCompareValid()
540 const TexComparePrecision& prec, in isNearestCompareResultValid() argument
547 …rdBounds(sampler.normalizedCoords, level.getWidth(), coord.x(), prec.coordBits.x(), prec.uvwBits.x… in isNearestCompareResultValid()
548 …dBounds(sampler.normalizedCoords, level.getHeight(), coord.y(), prec.coordBits.y(), prec.uvwBits.y… in isNearestCompareResultValid()
563 …const CmpResultSet resSet = execCompare(sampler.compare, depth, cmpReference, prec.referenceBits, … in isNearestCompareResultValid()
565 if (isResultInSet(resSet, result, prec.resultBits)) in isNearestCompareResultValid()
575 const TexComparePrecision& prec, in isLinearCompareResultValid() argument
582 …rdBounds(sampler.normalizedCoords, level.getWidth(), coord.x(), prec.coordBits.x(), prec.uvwBits.x… in isLinearCompareResultValid()
583 …dBounds(sampler.normalizedCoords, level.getHeight(), coord.y(), prec.coordBits.y(), prec.uvwBits.y… in isLinearCompareResultValid()
617 …if (isBilinearCompareValid(sampler.compare, prec, depths, Vec2(minA, maxA), Vec2(minB, maxB), cmpR… in isLinearCompareResultValid()
628 const TexComparePrecision& prec, in isLevelCompareResultValid() argument
635 return isLinearCompareResultValid(level, sampler, prec, coord, coordZ, cmpReference, result); in isLevelCompareResultValid()
637 return isNearestCompareResultValid(level, sampler, prec, coord, coordZ, cmpReference, result); in isLevelCompareResultValid()
643 const TexComparePrecision& prec, in isNearestMipmapLinearCompareResultValid() argument
657 …nNormalizedCoordBounds(sampler.normalizedCoords, w0, coord.x(), prec.coordBits.x(), prec.uvwBits.x… in isNearestMipmapLinearCompareResultValid()
658 …nNormalizedCoordBounds(sampler.normalizedCoords, w1, coord.x(), prec.coordBits.x(), prec.uvwBits.x… in isNearestMipmapLinearCompareResultValid()
659 …nNormalizedCoordBounds(sampler.normalizedCoords, h0, coord.y(), prec.coordBits.y(), prec.uvwBits.y… in isNearestMipmapLinearCompareResultValid()
660 …nNormalizedCoordBounds(sampler.normalizedCoords, h1, coord.y(), prec.coordBits.y(), prec.uvwBits.y… in isNearestMipmapLinearCompareResultValid()
684 …if (isLinearCompareValid(sampler.compare, prec, Vec2(depth0, depth1), fBounds, cmpReference, resul… in isNearestMipmapLinearCompareResultValid()
697 const TexComparePrecision& prec, in isLinearMipmapLinearCompareResultValid() argument
714 …nNormalizedCoordBounds(sampler.normalizedCoords, w0, coord.x(), prec.coordBits.x(), prec.uvwBits.x… in isLinearMipmapLinearCompareResultValid()
715 …nNormalizedCoordBounds(sampler.normalizedCoords, w1, coord.x(), prec.coordBits.x(), prec.uvwBits.x… in isLinearMipmapLinearCompareResultValid()
716 …nNormalizedCoordBounds(sampler.normalizedCoords, h0, coord.y(), prec.coordBits.y(), prec.uvwBits.y… in isLinearMipmapLinearCompareResultValid()
717 …nNormalizedCoordBounds(sampler.normalizedCoords, h1, coord.y(), prec.coordBits.y(), prec.uvwBits.y… in isLinearMipmapLinearCompareResultValid()
773 if (isTrilinearCompareValid(sampler.compare, prec, depths0, depths1, in isLinearMipmapLinearCompareResultValid()
790 const TexComparePrecision& prec, in isMipmapLinearCompareResultValid() argument
798 …return isLinearMipmapLinearCompareResultValid(level0, level1, sampler, prec, coord, coordZ, fBound… in isMipmapLinearCompareResultValid()
800 …return isNearestMipmapLinearCompareResultValid(level0, level1, sampler, prec, coord, coordZ, fBoun… in isMipmapLinearCompareResultValid()
805 const TexComparePrecision& prec, in isTexCompareResultValid() argument
820 …if (isLevelCompareResultValid(texture.getLevel(0), sampler, sampler.magFilter, prec, coord, 0, cmp… in isTexCompareResultValid()
845 …), texture.getLevel(level+1), sampler, getLevelFilter(sampler.minFilter), prec, coord, 0, Vec2(min… in isTexCompareResultValid()
860 …alid(texture.getLevel(level), sampler, getLevelFilter(sampler.minFilter), prec, coord, 0, cmpRefer… in isTexCompareResultValid()
866 …if (isLevelCompareResultValid(texture.getLevel(0), sampler, sampler.minFilter, prec, coord, 0, cmp… in isTexCompareResultValid()
877 const TexComparePrecision& prec, in isSeamplessLinearMipmapLinearCompareResultValid() argument
887 …ormalizedCoordBounds(sampler.normalizedCoords, size0, coords.s, prec.coordBits.x(), prec.uvwBits.x… in isSeamplessLinearMipmapLinearCompareResultValid()
888 …ormalizedCoordBounds(sampler.normalizedCoords, size1, coords.s, prec.coordBits.x(), prec.uvwBits.x… in isSeamplessLinearMipmapLinearCompareResultValid()
889 …ormalizedCoordBounds(sampler.normalizedCoords, size0, coords.t, prec.coordBits.y(), prec.uvwBits.y… in isSeamplessLinearMipmapLinearCompareResultValid()
890 …ormalizedCoordBounds(sampler.normalizedCoords, size1, coords.t, prec.coordBits.y(), prec.uvwBits.y… in isSeamplessLinearMipmapLinearCompareResultValid()
964 if (isTrilinearCompareValid(sampler.compare, prec, depths0, depths1, in isSeamplessLinearMipmapLinearCompareResultValid()
981 const TexComparePrecision& prec, in isCubeMipmapLinearCompareResultValid() argument
990 …return isSeamplessLinearMipmapLinearCompareResultValid(texture, baseLevelNdx, sampler, prec, coord… in isCubeMipmapLinearCompareResultValid()
994 sampler, prec, Vec2(coords.s, coords.t), 0, fBounds, cmpReference, result); in isCubeMipmapLinearCompareResultValid()
999 sampler, prec, Vec2(coords.s, coords.t), 0, fBounds, cmpReference, result); in isCubeMipmapLinearCompareResultValid()
1005 const TexComparePrecision& prec, in isSeamlessLinearCompareResultValid() argument
1013 …NormalizedCoordBounds(sampler.normalizedCoords, size, coords.s, prec.coordBits.x(), prec.uvwBits.x… in isSeamlessLinearCompareResultValid()
1014 …NormalizedCoordBounds(sampler.normalizedCoords, size, coords.t, prec.coordBits.y(), prec.uvwBits.y… in isSeamlessLinearCompareResultValid()
1053 …if (isBilinearCompareValid(sampler.compare, prec, depths, Vec2(minA, maxA), Vec2(minB, maxB), cmpR… in isSeamlessLinearCompareResultValid()
1065 const TexComparePrecision& prec, in isCubeLevelCompareResultValid() argument
1073 …return isSeamlessLinearCompareResultValid(texture, levelNdx, sampler, prec, coords, cmpReference, … in isCubeLevelCompareResultValid()
1075 …return isLinearCompareResultValid(texture.getLevelFace(levelNdx, coords.face), sampler, prec, Vec2… in isCubeLevelCompareResultValid()
1078 …return isNearestCompareResultValid(texture.getLevelFace(levelNdx, coords.face), sampler, prec, Vec… in isCubeLevelCompareResultValid()
1081 …tureCubeView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord,… in isTexCompareResultValid() argument
1088 getPossibleCubeFaces(coord, prec.coordBits, &possibleFaces[0], numPossibleFaces); in isTexCompareResultValid()
1103 …if (isCubeLevelCompareResultValid(texture, 0, sampler, sampler.magFilter, prec, faceCoords, cmpRef… in isTexCompareResultValid()
1128 …reResultValid(texture, level, sampler, getLevelFilter(sampler.minFilter), prec, faceCoords, Vec2(m… in isTexCompareResultValid()
1143 …reResultValid(texture, level, sampler, getLevelFilter(sampler.minFilter), prec, faceCoords, cmpRef… in isTexCompareResultValid()
1149 …if (isCubeLevelCompareResultValid(texture, 0, sampler, sampler.minFilter, prec, faceCoords, cmpRef… in isTexCompareResultValid()
1158 …e2DArrayView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord,… in isTexCompareResultValid() argument
1160 …at depthErr = computeFloatingPointError(coord.z(), prec.coordBits.z()) + computeFixedPointError(p… in isTexCompareResultValid()
1177 …if (isLevelCompareResultValid(texture.getLevel(0), sampler, sampler.magFilter, prec, coord.swizzle… in isTexCompareResultValid()
1202 …), texture.getLevel(level+1), sampler, getLevelFilter(sampler.minFilter), prec, coord.swizzle(0,1)… in isTexCompareResultValid()
1217 …alid(texture.getLevel(level), sampler, getLevelFilter(sampler.minFilter), prec, coord.swizzle(0,1)… in isTexCompareResultValid()
1223 …if (isLevelCompareResultValid(texture.getLevel(0), sampler, sampler.minFilter, prec, coord.swizzle… in isTexCompareResultValid()
1234 const TexComparePrecision& prec, in isGatherOffsetsCompareResultValid() argument
1242 …ounds(sampler.normalizedCoords, texture.getWidth(), coord.x(), prec.coordBits.x(), prec.uvwBits.x… in isGatherOffsetsCompareResultValid()
1243 …ounds(sampler.normalizedCoords, texture.getHeight(), coord.y(), prec.coordBits.y(), prec.uvwBits.y… in isGatherOffsetsCompareResultValid()
1266 …const CmpResultSet resSet = execCompare(sampler.compare, depth, cmpReference, prec.referenceBits, … in isGatherOffsetsCompareResultValid()
1268 if (!isResultInSet(resSet, result[offNdx], prec.resultBits)) in isGatherOffsetsCompareResultValid()
1282 const TexComparePrecision& prec, in isGatherOffsetsCompareResultValid() argument
1290 …return isGatherOffsetsCompareResultValid(texture.getLevel(0), sampler, prec, coord, 0, offsets, cm… in isGatherOffsetsCompareResultValid()
1295 const TexComparePrecision& prec, in isGatherOffsetsCompareResultValid() argument
1301 …at depthErr = computeFloatingPointError(coord.z(), prec.coordBits.z()) + computeFixedPointError(p… in isGatherOffsetsCompareResultValid()
1311 …if (isGatherOffsetsCompareResultValid(texture.getLevel(0), sampler, prec, coord.swizzle(0,1), laye… in isGatherOffsetsCompareResultValid()
1319 const TexComparePrecision& prec, in isGatherCompareResultValid() argument
1326 …NormalizedCoordBounds(sampler.normalizedCoords, size, coords.s, prec.coordBits.x(), prec.uvwBits.x… in isGatherCompareResultValid()
1327 …NormalizedCoordBounds(sampler.normalizedCoords, size, coords.t, prec.coordBits.y(), prec.uvwBits.y… in isGatherCompareResultValid()
1364 …const CmpResultSet resSet = execCompare(sampler.compare, depth, cmpReference, prec.referenceBits, … in isGatherCompareResultValid()
1366 if (!isResultInSet(resSet, result[offNdx], prec.resultBits)) in isGatherCompareResultValid()
1380 const TexComparePrecision& prec, in isGatherCompareResultValid() argument
1390 getPossibleCubeFaces(coord, prec.coordBits, &possibleFaces[0], numPossibleFaces); in isGatherCompareResultValid()
1399 if (isGatherCompareResultValid(texture, sampler, prec, faceCoords, cmpReference, result)) in isGatherCompareResultValid()