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()
355 const Vec2& xBounds0, in is1DTrilinearFilterResultValid()
356 const Vec2& xBounds1, in is1DTrilinearFilterResultValid()
357 const Vec2& zBounds, in is1DTrilinearFilterResultValid()
392 const Vec2& xBounds0, in is2DTrilinearFilterResultValid()
393 const Vec2& yBounds0, in is2DTrilinearFilterResultValid()
394 const Vec2& xBounds1, in is2DTrilinearFilterResultValid()
395 const Vec2& yBounds1, in is2DTrilinearFilterResultValid()
396 const Vec2& zBounds, in is2DTrilinearFilterResultValid()
447 const Vec2& xBounds0, in is3DTrilinearFilterResultValid()
448 const Vec2& yBounds0, in is3DTrilinearFilterResultValid()
449 const Vec2& zBounds0, in is3DTrilinearFilterResultValid()
450 const Vec2& xBounds1, in is3DTrilinearFilterResultValid()
451 const Vec2& yBounds1, in is3DTrilinearFilterResultValid()
452 const Vec2& zBounds1, in is3DTrilinearFilterResultValid()
453 const Vec2& wBounds, in is3DTrilinearFilterResultValid()
529 …const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getWidth()… in isNearestSampleResultValid()
550 const Vec2& coord, in isNearestSampleResultValid()
554 …const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getWidth()… in isNearestSampleResultValid()
555 …const Vec2 vBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getHeight(… in isNearestSampleResultValid()
588 …const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getWidth()… in isNearestSampleResultValid()
589 …const Vec2 vBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getHeight(… in isNearestSampleResultValid()
590 …const Vec2 wBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getDepth()… in isNearestSampleResultValid()
629 …const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getWidt… in isLinearSampleResultValid()
658 if (isLinearRangeValid(prec, colorA, colorB, Vec2(minA, maxA), result)) in isLinearSampleResultValid()
668 const Vec2& coord, in isLinearSampleResultValid()
672 …const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getWidt… in isLinearSampleResultValid()
673 …const Vec2 vBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getHeig… in isLinearSampleResultValid()
717 if (isBilinearRangeValid(prec, quad, Vec2(minA, maxA), Vec2(minB, maxB), searchStep, result)) in isLinearSampleResultValid()
731 …const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getWidt… in isLinearSampleResultValid()
732 …const Vec2 vBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getHeig… in isLinearSampleResultValid()
733 …const Vec2 wBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getDept… in isLinearSampleResultValid()
787 …if (isTrilinearRangeValid(prec, quad0, quad1, Vec2(minA, maxA), Vec2(minB, maxB), Vec2(minC, maxC)… in isLinearSampleResultValid()
802 const Vec2& fBounds, in isNearestMipmapLinearSampleResultValid()
808 …const Vec2 uBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w0, coord, prec.… in isNearestMipmapLinearSampleResultValid()
809 …const Vec2 uBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w1, coord, prec.… in isNearestMipmapLinearSampleResultValid()
836 const Vec2& coord, in isNearestMipmapLinearSampleResultValid()
838 const Vec2& fBounds, in isNearestMipmapLinearSampleResultValid()
846 …const Vec2 uBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w0, coord.x(), p… in isNearestMipmapLinearSampleResultValid()
847 …const Vec2 uBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w1, coord.x(), p… in isNearestMipmapLinearSampleResultValid()
848 …const Vec2 vBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, h0, coord.y(), p… in isNearestMipmapLinearSampleResultValid()
849 …const Vec2 vBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, h1, coord.y(), p… in isNearestMipmapLinearSampleResultValid()
887 const Vec2& fBounds, in isNearestMipmapLinearSampleResultValid()
897 …const Vec2 uBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w0, coord.x(), p… in isNearestMipmapLinearSampleResultValid()
898 …const Vec2 uBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w1, coord.x(), p… in isNearestMipmapLinearSampleResultValid()
899 …const Vec2 vBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, h0, coord.y(), p… in isNearestMipmapLinearSampleResultValid()
900 …const Vec2 vBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, h1, coord.y(), p… in isNearestMipmapLinearSampleResultValid()
901 …const Vec2 wBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, d0, coord.z(), p… in isNearestMipmapLinearSampleResultValid()
902 …const Vec2 wBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, d1, coord.z(), p… in isNearestMipmapLinearSampleResultValid()
951 const Vec2& fBounds, in isLinearMipmapLinearSampleResultValid()
960 …const Vec2 uBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w0, coordX, p… in isLinearMipmapLinearSampleResultValid()
961 …const Vec2 uBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w1, coordX, p… in isLinearMipmapLinearSampleResultValid()
1016 …if (is1DTrilinearFilterResultValid(prec, line0, line1, Vec2(minA0, maxA0), Vec2(minA1, maxA1), fBo… in isLinearMipmapLinearSampleResultValid()
1028 const Vec2& coord, in isLinearMipmapLinearSampleResultValid()
1030 const Vec2& fBounds, in isLinearMipmapLinearSampleResultValid()
1041 …const Vec2 uBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w0, coord.x()… in isLinearMipmapLinearSampleResultValid()
1042 …const Vec2 uBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w1, coord.x()… in isLinearMipmapLinearSampleResultValid()
1043 …const Vec2 vBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, h0, coord.y()… in isLinearMipmapLinearSampleResultValid()
1044 …const Vec2 vBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, h1, coord.y()… in isLinearMipmapLinearSampleResultValid()
1115 …linearFilterResultValid(prec, quad0, quad1, Vec2(minA0, maxA0), Vec2(minB0, maxB0), Vec2(minA1, ma… in isLinearMipmapLinearSampleResultValid()
1131 const Vec2& fBounds, in isLinearMipmapLinearSampleResultValid()
1144 …const Vec2 uBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w0, coord.x()… in isLinearMipmapLinearSampleResultValid()
1145 …const Vec2 uBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, w1, coord.x()… in isLinearMipmapLinearSampleResultValid()
1146 …const Vec2 vBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, h0, coord.y()… in isLinearMipmapLinearSampleResultValid()
1147 …const Vec2 vBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, h1, coord.y()… in isLinearMipmapLinearSampleResultValid()
1148 …const Vec2 wBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, d0, coord.z()… in isLinearMipmapLinearSampleResultValid()
1149 …const Vec2 wBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, d1, coord.z()… in isLinearMipmapLinearSampleResultValid()
1239 Vec2(minA0, maxA0), Vec2(minB0, maxB0), Vec2(minC0, maxC0), in isLinearMipmapLinearSampleResultValid()
1240 Vec2(minA1, maxA1), Vec2(minB1, maxB1), Vec2(minC1, maxC1), in isLinearMipmapLinearSampleResultValid()
1271 const Vec2& coord, in isLevelSampleResultValid()
1288 const Vec2& fBounds, in isMipmapLinearSampleResultValid()
1302 const Vec2& coord, in isMipmapLinearSampleResultValid()
1304 const Vec2& fBounds, in isMipmapLinearSampleResultValid()
1313 …ture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBound… in isLookupResultValid()
1349 …vel(level+1), sampler, getLevelFilter(sampler.minFilter), prec, coord, 0, Vec2(minF, maxF), result… in isLookupResultValid()
1378 …t Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const V… in isLookupResultValid()
1414 …vel(level+1), sampler, getLevelFilter(sampler.minFilter), prec, coord, 0, Vec2(minF, maxF), result… in isLookupResultValid()
1451 …const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size, coords.… in isSeamlessLinearSampleResultValid()
1452 …const Vec2 vBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size, coords.… in isSeamlessLinearSampleResultValid()
1498 if (isBilinearRangeValid(prec, quad, Vec2(minA, maxA), Vec2(minB, maxB), searchStep, result)) in isSeamlessLinearSampleResultValid()
1511 const Vec2& fBounds, in isSeamplessLinearMipmapLinearSampleResultValid()
1520 …const Vec2 uBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size0, coords… in isSeamplessLinearMipmapLinearSampleResultValid()
1521 …const Vec2 uBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size1, coords… in isSeamplessLinearMipmapLinearSampleResultValid()
1522 …const Vec2 vBounds0 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size0, coords… in isSeamplessLinearMipmapLinearSampleResultValid()
1523 …const Vec2 vBounds1 = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size1, coords… in isSeamplessLinearMipmapLinearSampleResultValid()
1610 …linearFilterResultValid(prec, quad0, quad1, Vec2(minA0, maxA0), Vec2(minB0, maxB0), Vec2(minA1, ma… in isSeamplessLinearMipmapLinearSampleResultValid()
1633 …return isLinearSampleResultValid(level[coords.face], sampler, prec, Vec2(coords.s, coords.t), 0, r… in isCubeLevelSampleResultValid()
1636 …return isNearestSampleResultValid(level[coords.face], sampler, prec, Vec2(coords.s, coords.t), 0, … in isCubeLevelSampleResultValid()
1645 const Vec2& fBounds, in isCubeMipmapLinearSampleResultValid()
1653 …ampleResultValid(faces0[coords.face], faces1[coords.face], sampler, prec, Vec2(coords.s, coords.t)… in isCubeMipmapLinearSampleResultValid()
1656 …ampleResultValid(faces0[coords.face], faces1[coords.face], sampler, prec, Vec2(coords.s, coords.t)… in isCubeMipmapLinearSampleResultValid()
1665 …t Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const V… in isLookupResultValid()
1721 …s0, faces1, sampler, getLevelFilter(sampler.minFilter), prec, faceCoords, Vec2(minF, maxF), result… in isLookupResultValid()
1768 …ture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBound… in isLookupResultValid()
1808 …evel+1), sampler, getLevelFilter(sampler.minFilter), prec, coordX, layer, Vec2(minF, maxF), result… in isLookupResultValid()
1838 …t Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const V… in isLookupResultValid()
1841 const Vec2 coordXY = coord.swizzle(0,1); in isLookupResultValid()
1878 …vel+1), sampler, getLevelFilter(sampler.minFilter), prec, coordXY, layer, Vec2(minF, maxF), result… in isLookupResultValid()
1927 const Vec2& fBounds, in isMipmapLinearSampleResultValid()
1936 …t Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const V… in isLookupResultValid()
1972 …tLevel(level+1), sampler, getLevelFilter(sampler.minFilter), prec, coord, Vec2(minF, maxF), result… in isLookupResultValid()
2013 …t LookupPrecision& prec, const IVec4& coordBits, const Vec4& coord, const Vec2& lodBounds, const V… in isLookupResultValid()
2073 …s0, faces1, sampler, getLevelFilter(sampler.minFilter), prec, faceCoords, Vec2(minF, maxF), result… in isLookupResultValid()
2120 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const flo… in computeLodBoundsFromDerivates()
2134 return Vec2(minLod-lodErr, maxLod+lodErr); in computeLodBoundsFromDerivates()
2137 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const flo… in computeLodBoundsFromDerivates()
2142 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dudy, const LodPrecision& prec) in computeLodBoundsFromDerivates()
2147 Vec2 computeCubeLodBoundsFromDerivates (const Vec3& coord, const Vec3& coordDx, const Vec3& coordDy… in computeCubeLodBoundsFromDerivates()
2182 const Vec2 bounds = computeLodBoundsFromDerivates(dudx, dvdx, dudy, dvdy, prec); in computeCubeLodBoundsFromDerivates()
2197 return Vec2(bounds.x(), 1000.0f); in computeCubeLodBoundsFromDerivates()
2205 Vec2 clampLodBounds (const Vec2& lodBounds, const Vec2& lodMinMax, const LodPrecision& prec) in clampLodBounds()
2210 …return Vec2(de::clamp(lodBounds.x(), a-lodErr, b-lodErr), de::clamp(lodBounds.y(), a+lodErr, b+lod… in clampLodBounds()
2255 const Vec2& coord, in isLevel2DLookupResultValid()
2267 const Vec2& coord, in isLevel2DLookupResultValid()
2280 const Vec2& coord, in isLevel2DLookupResultValid()
2328 const Vec2& coord, in isGatherOffsetsResultValid()
2334 …const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getWidth(), … in isGatherOffsetsResultValid()
2335 …const Vec2 vBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, level.getHeight(),… in isGatherOffsetsResultValid()
2370 const Vec2& coord, in isGatherOffsetsResultValid()
2381 const Vec2& coord, in isGatherOffsetsResultValid()
2392 const Vec2& coord, in isGatherOffsetsResultValid()
2461 …const Vec2 uBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size, coords.s, pr… in isGatherResultValid()
2462 …const Vec2 vBounds = computeNonNormalizedCoordBounds(sampler.normalizedCoords, size, coords.t, pr… in isGatherResultValid()