Lines Matching refs:Vec2
251 const Vec2& fBounds, in isLinearRangeValid()
289 const Vec2& xBounds, in isBilinearRangeValid()
290 const Vec2& yBounds, in isBilinearRangeValid()
318 const Vec2& xBounds, in isTrilinearRangeValid()
319 const Vec2& yBounds, in isTrilinearRangeValid()
320 const Vec2& zBounds, in isTrilinearRangeValid()
400 const Vec2& xBounds0, in is1DTrilinearFilterResultValid()
401 const Vec2& xBounds1, in is1DTrilinearFilterResultValid()
402 const Vec2& zBounds, in is1DTrilinearFilterResultValid()
437 const Vec2& xBounds0, in is2DTrilinearFilterResultValid()
438 const Vec2& yBounds0, in is2DTrilinearFilterResultValid()
439 const Vec2& xBounds1, in is2DTrilinearFilterResultValid()
440 const Vec2& yBounds1, in is2DTrilinearFilterResultValid()
441 const Vec2& zBounds, in is2DTrilinearFilterResultValid()
492 const Vec2& xBounds0, in is3DTrilinearFilterResultValid()
493 const Vec2& yBounds0, in is3DTrilinearFilterResultValid()
494 const Vec2& zBounds0, in is3DTrilinearFilterResultValid()
495 const Vec2& xBounds1, in is3DTrilinearFilterResultValid()
496 const Vec2& yBounds1, in is3DTrilinearFilterResultValid()
497 const Vec2& zBounds1, in is3DTrilinearFilterResultValid()
498 const Vec2& wBounds, in is3DTrilinearFilterResultValid()
574 …const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getWidth()… in isNearestSampleResultValid()
595 const Vec2& coord, in isNearestSampleResultValid()
599 …const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getWidth()… in isNearestSampleResultValid()
600 …const Vec2 vBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getHeight(… in isNearestSampleResultValid()
633 …const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getWidth()… in isNearestSampleResultValid()
634 …const Vec2 vBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getHeight(… in isNearestSampleResultValid()
635 …const Vec2 wBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getDepth()… in isNearestSampleResultValid()
674 …const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getWidt… in isLinearSampleResultValid()
707 if (isLinearRangeValid(prec, colorA, colorB, Vec2(minA, maxA), result)) in isLinearSampleResultValid()
723 const Vec2& coord, in isLinearSampleResultValid()
727 …const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getWidt… in isLinearSampleResultValid()
728 …const Vec2 vBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getHeig… in isLinearSampleResultValid()
775 if (isBilinearRangeValid(prec, quad, Vec2(minA, maxA), Vec2(minB, maxB), searchStep, result)) in isLinearSampleResultValid()
795 …const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getWidt… in isLinearSampleResultValid()
796 …const Vec2 vBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getHeig… in isLinearSampleResultValid()
797 …const Vec2 wBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getDept… in isLinearSampleResultValid()
854 …if (isTrilinearRangeValid(prec, quad0, quad1, Vec2(minA, maxA), Vec2(minB, maxB), Vec2(minC, maxC)… in isLinearSampleResultValid()
875 const Vec2& fBounds, in isNearestMipmapLinearSampleResultValid()
881 …const Vec2 uBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w0, coord, prec.… in isNearestMipmapLinearSampleResultValid()
882 …const Vec2 uBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w1, coord, prec.… in isNearestMipmapLinearSampleResultValid()
909 const Vec2& coord, in isNearestMipmapLinearSampleResultValid()
911 const Vec2& fBounds, in isNearestMipmapLinearSampleResultValid()
919 …const Vec2 uBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w0, coord.x(), p… in isNearestMipmapLinearSampleResultValid()
920 …const Vec2 uBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w1, coord.x(), p… in isNearestMipmapLinearSampleResultValid()
921 …const Vec2 vBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, h0, coord.y(), p… in isNearestMipmapLinearSampleResultValid()
922 …const Vec2 vBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, h1, coord.y(), p… in isNearestMipmapLinearSampleResultValid()
960 const Vec2& fBounds, in isNearestMipmapLinearSampleResultValid()
970 …const Vec2 uBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w0, coord.x(), p… in isNearestMipmapLinearSampleResultValid()
971 …const Vec2 uBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w1, coord.x(), p… in isNearestMipmapLinearSampleResultValid()
972 …const Vec2 vBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, h0, coord.y(), p… in isNearestMipmapLinearSampleResultValid()
973 …const Vec2 vBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, h1, coord.y(), p… in isNearestMipmapLinearSampleResultValid()
974 …const Vec2 wBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, d0, coord.z(), p… in isNearestMipmapLinearSampleResultValid()
975 …const Vec2 wBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, d1, coord.z(), p… in isNearestMipmapLinearSampleResultValid()
1024 const Vec2& fBounds, in isLinearMipmapLinearSampleResultValid()
1033 …const Vec2 uBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w0, coordX, p… in isLinearMipmapLinearSampleResultValid()
1034 …const Vec2 uBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w1, coordX, p… in isLinearMipmapLinearSampleResultValid()
1090 …if (is1DTrilinearFilterResultValid(prec, line0, line1, Vec2(minA0, maxA0), Vec2(minA1, maxA1), fBo… in isLinearMipmapLinearSampleResultValid()
1102 const Vec2& coord, in isLinearMipmapLinearSampleResultValid()
1104 const Vec2& fBounds, in isLinearMipmapLinearSampleResultValid()
1115 …const Vec2 uBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w0, coord.x()… in isLinearMipmapLinearSampleResultValid()
1116 …const Vec2 uBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w1, coord.x()… in isLinearMipmapLinearSampleResultValid()
1117 …const Vec2 vBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, h0, coord.y()… in isLinearMipmapLinearSampleResultValid()
1118 …const Vec2 vBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, h1, coord.y()… in isLinearMipmapLinearSampleResultValid()
1190 …linearFilterResultValid(prec, quad0, quad1, Vec2(minA0, maxA0), Vec2(minB0, maxB0), Vec2(minA1, ma… in isLinearMipmapLinearSampleResultValid()
1206 const Vec2& fBounds, in isLinearMipmapLinearSampleResultValid()
1219 …const Vec2 uBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w0, coord.x()… in isLinearMipmapLinearSampleResultValid()
1220 …const Vec2 uBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w1, coord.x()… in isLinearMipmapLinearSampleResultValid()
1221 …const Vec2 vBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, h0, coord.y()… in isLinearMipmapLinearSampleResultValid()
1222 …const Vec2 vBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, h1, coord.y()… in isLinearMipmapLinearSampleResultValid()
1223 …const Vec2 wBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, d0, coord.z()… in isLinearMipmapLinearSampleResultValid()
1224 …const Vec2 wBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, d1, coord.z()… in isLinearMipmapLinearSampleResultValid()
1315 Vec2(minA0, maxA0), Vec2(minB0, maxB0), Vec2(minC0, maxC0), in isLinearMipmapLinearSampleResultValid()
1316 Vec2(minA1, maxA1), Vec2(minB1, maxB1), Vec2(minC1, maxC1), in isLinearMipmapLinearSampleResultValid()
1347 const Vec2& coord, in isLevelSampleResultValid()
1364 const Vec2& fBounds, in isMipmapLinearSampleResultValid()
1378 const Vec2& coord, in isMipmapLinearSampleResultValid()
1380 const Vec2& fBounds, in isMipmapLinearSampleResultValid()
1389 …ture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBound… in isLookupResultValid()
1425 …vel(level+1), sampler, getLevelFilter(sampler.minFilter), prec, coord, 0, Vec2(minF, maxF), result… in isLookupResultValid()
1454 …t Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const V… in isLookupResultValid()
1490 …vel(level+1), sampler, getLevelFilter(sampler.minFilter), prec, coord, 0, Vec2(minF, maxF), result… in isLookupResultValid()
1527 …const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size, coords.… in isSeamlessLinearSampleResultValid()
1528 …const Vec2 vBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size, coords.… in isSeamlessLinearSampleResultValid()
1577 if (isBilinearRangeValid(prec, quad, Vec2(minA, maxA), Vec2(minB, maxB), searchStep, result)) in isSeamlessLinearSampleResultValid()
1596 const Vec2& fBounds, in isSeamplessLinearMipmapLinearSampleResultValid()
1605 …const Vec2 uBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size0, coords… in isSeamplessLinearMipmapLinearSampleResultValid()
1606 …const Vec2 uBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size1, coords… in isSeamplessLinearMipmapLinearSampleResultValid()
1607 …const Vec2 vBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size0, coords… in isSeamplessLinearMipmapLinearSampleResultValid()
1608 …const Vec2 vBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size1, coords… in isSeamplessLinearMipmapLinearSampleResultValid()
1696 …linearFilterResultValid(prec, quad0, quad1, Vec2(minA0, maxA0), Vec2(minB0, maxB0), Vec2(minA1, ma… in isSeamplessLinearMipmapLinearSampleResultValid()
1719 …return isLinearSampleResultValid(level[coords.face], sampler, prec, Vec2(coords.s, coords.t), 0, r… in isCubeLevelSampleResultValid()
1722 …return isNearestSampleResultValid(level[coords.face], sampler, prec, Vec2(coords.s, coords.t), 0, … in isCubeLevelSampleResultValid()
1731 const Vec2& fBounds, in isCubeMipmapLinearSampleResultValid()
1739 …ampleResultValid(faces0[coords.face], faces1[coords.face], sampler, prec, Vec2(coords.s, coords.t)… in isCubeMipmapLinearSampleResultValid()
1742 …ampleResultValid(faces0[coords.face], faces1[coords.face], sampler, prec, Vec2(coords.s, coords.t)… in isCubeMipmapLinearSampleResultValid()
1751 …t Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const V… in isLookupResultValid()
1807 …s0, faces1, sampler, getLevelFilter(sampler.minFilter), prec, faceCoords, Vec2(minF, maxF), result… in isLookupResultValid()
1854 …ture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBound… in isLookupResultValid()
1894 …evel+1), sampler, getLevelFilter(sampler.minFilter), prec, coordX, layer, Vec2(minF, maxF), result… in isLookupResultValid()
1924 …t Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const V… in isLookupResultValid()
1927 const Vec2 coordXY = coord.swizzle(0,1); in isLookupResultValid()
1964 …vel+1), sampler, getLevelFilter(sampler.minFilter), prec, coordXY, layer, Vec2(minF, maxF), result… in isLookupResultValid()
2013 const Vec2& fBounds, in isMipmapLinearSampleResultValid()
2022 …t Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const V… in isLookupResultValid()
2058 …tLevel(level+1), sampler, getLevelFilter(sampler.minFilter), prec, coord, Vec2(minF, maxF), result… in isLookupResultValid()
2099 …t LookupPrecision& prec, const IVec4& coordBits, const Vec4& coord, const Vec2& lodBounds, const V… in isLookupResultValid()
2159 …s0, faces1, sampler, getLevelFilter(sampler.minFilter), prec, faceCoords, Vec2(minF, maxF), result… in isLookupResultValid()
2211 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const flo… in computeLodBoundsFromDerivates()
2246 return Vec2(minLod-lodErr, maxLod+lodErr); in computeLodBoundsFromDerivates()
2249 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const flo… in computeLodBoundsFromDerivates()
2254 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dudy, const LodPrecision& prec) in computeLodBoundsFromDerivates()
2259 Vec2 computeCubeLodBoundsFromDerivates (const Vec3& coord, const Vec3& coordDx, const Vec3& coordDy… in computeCubeLodBoundsFromDerivates()
2294 const Vec2 bounds = computeLodBoundsFromDerivates(dudx, dvdx, dudy, dvdy, prec); in computeCubeLodBoundsFromDerivates()
2309 return Vec2(bounds.x(), 1000.0f); in computeCubeLodBoundsFromDerivates()
2317 Vec2 clampLodBounds (const Vec2& lodBounds, const Vec2& lodMinMax, const LodPrecision& prec) in clampLodBounds()
2322 …return Vec2(de::clamp(lodBounds.x(), a-lodErr, b-lodErr), de::clamp(lodBounds.y(), a+lodErr, b+lod… in clampLodBounds()
2367 const Vec2& coord, in isLevel2DLookupResultValid()
2379 const Vec2& coord, in isLevel2DLookupResultValid()
2392 const Vec2& coord, in isLevel2DLookupResultValid()
2440 const Vec2& coord, in isGatherOffsetsResultValid()
2446 …const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getWidth(), … in isGatherOffsetsResultValid()
2447 …const Vec2 vBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getHeight(),… in isGatherOffsetsResultValid()
2482 const Vec2& coord, in isGatherOffsetsResultValid()
2493 const Vec2& coord, in isGatherOffsetsResultValid()
2504 const Vec2& coord, in isGatherOffsetsResultValid()
2573 …const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size, coords.s, pr… in isGatherResultValid()
2574 …const Vec2 vBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size, coords.t, pr… in isGatherResultValid()