H A D | tcuTexLookupVerifier.cpp | 82 static inline bool isColorValid (const LookupPrecision& prec, const Vec4& ref, const Vec4& result) argument 85 return boolAll(logicalOr(lessThanEqual(diff, prec.colorThreshold), logicalNot(prec.colorMask))); 88 static inline bool isColorValid (const IntLookupPrecision& prec, const IVec4& ref, const IVec4& result) argument 90 return boolAll(logicalOr(lessThanEqual(absDiff(ref, result).asUint(), prec.colorThreshold), logicalNot(prec.colorMask))); 93 static inline bool isColorValid (const IntLookupPrecision& prec, const UVec4& ref, const UVec4& result) argument 95 return boolAll(logicalOr(lessThanEqual(absDiff(ref, result), prec.colorThreshold), logicalNot(prec.colorMask))); 144 static float computeBilinearSearchStepFromFloatLine (const LookupPrecision& prec, argument 158 computeBilinearSearchStepFromFloatQuad(const LookupPrecision& prec, const ColorQuad& quad) argument 176 computeBilinearSearchStepForUnorm(const LookupPrecision& prec) argument 187 computeBilinearSearchStepForSnorm(const LookupPrecision& prec) argument 218 isInColorBounds(const LookupPrecision& prec, const ColorQuad& quad, const Vec4& result) argument 225 isInColorBounds(const LookupPrecision& prec, const ColorQuad& quad0, const ColorQuad& quad1, const Vec4& result) argument 232 isInColorBounds(const LookupPrecision& prec, const ColorLine& line0, const ColorLine& line1, const Vec4& result) argument 239 isInColorBounds(const LookupPrecision& prec, const ColorQuad& quad00, const ColorQuad& quad01, const ColorQuad& quad10, const ColorQuad& quad11, const Vec4& result) argument 253 isLinearRangeValid(const LookupPrecision& prec, const Vec4& c0, const Vec4& c1, const Vec2& fBounds, const Vec4& result) argument 292 isBilinearRangeValid(const LookupPrecision& prec, const ColorQuad& quad, const Vec2& xBounds, const Vec2& yBounds, const float searchStep, const Vec4& result) argument 318 isTrilinearRangeValid(const LookupPrecision& prec, const ColorQuad& quad0, const ColorQuad& quad1, const Vec2& xBounds, const Vec2& yBounds, const Vec2& zBounds, const float searchStep, const Vec4& result) argument 351 is1DTrilinearFilterResultValid(const LookupPrecision& prec, const ColorLine& line0, const ColorLine& line1, const Vec2& xBounds0, const Vec2& xBounds1, const Vec2& zBounds, const float searchStep, const Vec4& result) argument 384 is2DTrilinearFilterResultValid(const LookupPrecision& prec, const ColorQuad& quad0, const ColorQuad& quad1, const Vec2& xBounds0, const Vec2& yBounds0, const Vec2& xBounds1, const Vec2& yBounds1, const Vec2& zBounds, const float searchStep, const Vec4& result) argument 429 is3DTrilinearFilterResultValid(const LookupPrecision& prec, const ColorQuad& quad00, const ColorQuad& quad01, const ColorQuad& quad10, const ColorQuad& quad11, const Vec2& xBounds0, const Vec2& yBounds0, const Vec2& zBounds0, const Vec2& xBounds1, const Vec2& yBounds1, const Vec2& zBounds1, const Vec2& wBounds, const float searchStep, const Vec4& result) argument 495 isNearestSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const float coordX, const int coordY, const Vector<ScalarType, 4>& result) argument 522 isNearestSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const Vec2& coord, const int coordZ, const Vector<ScalarType, 4>& result) argument 557 isNearestSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const Vec3& coord, const Vector<ScalarType, 4>& result) argument 597 isLinearSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const LookupPrecision& prec, const float coordX, const int coordY, const Vec4& result) argument 631 isLinearSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec4& result) argument 687 isLinearSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec4& result) argument 754 isNearestMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const float coord, const int coordY, const Vec2& fBounds, const Vec4& result) argument 790 isNearestMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec2& fBounds, const Vec4& result) argument 840 isNearestMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& fBounds, const Vec4& result) argument 903 isLinearMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const float coordX, const int coordY, const Vec2& fBounds, const Vec4& result) argument 978 isLinearMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec2& fBounds, const Vec4& result) argument 1076 isLinearMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& fBounds, const Vec4& result) argument 1199 isLevelSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const Sampler::FilterMode filterMode, const LookupPrecision& prec, const float coordX, const int coordY, const Vec4& result) argument 1213 isLevelSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const Sampler::FilterMode filterMode, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec4& result) argument 1227 isMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const Sampler::FilterMode levelFilter, const LookupPrecision& prec, const float coordX, const int coordY, const Vec2& fBounds, const Vec4& result) argument 1243 isMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const Sampler::FilterMode levelFilter, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec2& fBounds, const Vec4& result) argument 1259 isLookupResultValid(const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result) argument 1324 isLookupResultValid(const Texture1DView& texture, const Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& result) argument 1391 const LookupPrecision& prec, member in namespace:tcu 1451 const LookupPrecision& prec, member in namespace:tcu 1562 const LookupPrecision& prec, member in namespace:tcu 1581 const LookupPrecision& prec, member in namespace:tcu 1603 isLookupResultValid(const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result) argument 1706 isLookupResultValid(const Texture1DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result) argument 1776 isLookupResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result) argument 1846 isLevelSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const Sampler::FilterMode filterMode, const LookupPrecision& prec, const Vec3& coord, const Vec4& result) argument 1859 isMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const Sampler::FilterMode levelFilter, const LookupPrecision& prec, const Vec3& coord, const Vec2& fBounds, const Vec4& result) argument 1874 isLookupResultValid(const Texture3DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result) argument 1951 isLookupResultValid(const TextureCubeArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const IVec4& coordBits, const Vec4& coord, const Vec2& lodBounds, const Vec4& result) argument 2058 computeLodBoundsFromDerivates(const float dudx, const float dvdx, const float dwdx, const float dudy, const float dvdy, const float dwdy, const LodPrecision& prec) argument 2075 computeLodBoundsFromDerivates(const float dudx, const float dvdx, const float dudy, const float dvdy, const LodPrecision& prec) argument 2080 computeLodBoundsFromDerivates(const float dudx, const float dudy, const LodPrecision& prec) argument 2085 computeCubeLodBoundsFromDerivates(const Vec3& coord, const Vec3& coordDx, const Vec3& coordDy, const int faceSize, const LodPrecision& prec) argument 2143 clampLodBounds(const Vec2& lodBounds, const Vec2& lodMinMax, const LodPrecision& prec) argument 2151 isLevel1DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const LookupPrecision& prec, const float coordX, const int coordY, const Vec4& result) argument 2163 isLevel1DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const float coordX, const int coordY, const IVec4& result) argument 2176 isLevel1DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const float coordX, const int coordY, const UVec4& result) argument 2189 isLevel2DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec4& result) argument 2201 isLevel2DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec2& coord, const int coordZ, const IVec4& result) argument 2214 isLevel2DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec2& coord, const int coordZ, const UVec4& result) argument 2227 isLevel3DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const LookupPrecision& prec, const Vec3& coord, const Vec4& result) argument 2238 isLevel3DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec3& coord, const IVec4& result) argument 2250 isLevel3DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec3& coord, const UVec4& result) argument 2263 isGatherOffsetsResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const Vec2& coord, int coordZ, int componentNdx, const IVec2 (&offsets)[4], const Vector<ScalarType, 4>& result) argument 2305 isGatherOffsetsResultValid(const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const Vec4& result) argument 2316 isGatherOffsetsResultValid(const Texture2DView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result) argument 2327 isGatherOffsetsResultValid(const Texture2DView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const UVec4& result) argument 2339 is2DArrayGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const PrecType& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const Vector<ScalarType, 4>& result) argument 2356 isGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const Vec4& result) argument 2367 isGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result) argument 2378 isGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const UVec4& result) argument 2390 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const PrecType& prec, const CubeFaceFloatCoords& coords, int componentNdx, const Vector<ScalarType, 4>& result) argument 2447 isCubeGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const PrecType& prec, const Vec3& coord, int componentNdx, const Vector<ScalarType, 4>& result) argument 2473 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, int componentNdx, const Vec4& result) argument 2483 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec4& result) argument 2493 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const UVec4& result) argument [all...] |