H A D | tcuTexLookupVerifier.cpp | 77 static inline bool isColorValid (const LookupPrecision& prec, const Vec4& ref, const Vec4& result) argument 80 return boolAll(logicalOr(lessThanEqual(diff, prec.colorThreshold), logicalNot(prec.colorMask))); 83 static inline bool isColorValid (const IntLookupPrecision& prec, const IVec4& ref, const IVec4& result) argument 85 return boolAll(logicalOr(lessThanEqual(absDiff(ref, result).asUint(), prec.colorThreshold), logicalNot(prec.colorMask))); 88 static inline bool isColorValid (const IntLookupPrecision& prec, const UVec4& ref, const UVec4& result) argument 90 return boolAll(logicalOr(lessThanEqual(absDiff(ref, result), prec.colorThreshold), logicalNot(prec.colorMask))); 139 static float computeBilinearSearchStepFromFloatLine (const LookupPrecision& prec, argument 153 computeBilinearSearchStepFromFloatQuad(const LookupPrecision& prec, const ColorQuad& quad) argument 171 computeBilinearSearchStepForUnorm(const LookupPrecision& prec) argument 182 computeBilinearSearchStepForSnorm(const LookupPrecision& prec) argument 213 isInColorBounds(const LookupPrecision& prec, const ColorQuad& quad, const Vec4& result) argument 220 isInColorBounds(const LookupPrecision& prec, const ColorQuad& quad0, const ColorQuad& quad1, const Vec4& result) argument 227 isInColorBounds(const LookupPrecision& prec, const ColorLine& line0, const ColorLine& line1, const Vec4& result) argument 234 isInColorBounds(const LookupPrecision& prec, const ColorQuad& quad00, const ColorQuad& quad01, const ColorQuad& quad10, const ColorQuad& quad11, const Vec4& result) argument 248 isLinearRangeValid(const LookupPrecision& prec, const Vec4& c0, const Vec4& c1, const Vec2& fBounds, const Vec4& result) argument 287 isBilinearRangeValid(const LookupPrecision& prec, const ColorQuad& quad, const Vec2& xBounds, const Vec2& yBounds, const float searchStep, const Vec4& result) argument 315 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 352 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 389 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 442 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 520 isNearestSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const float coordX, const int coordY, const Vector<ScalarType, 4>& result) argument 547 isNearestSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const Vec2& coord, const int coordZ, const Vector<ScalarType, 4>& result) argument 582 isNearestSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const PrecType& prec, const Vec3& coord, const Vector<ScalarType, 4>& result) argument 622 isLinearSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const LookupPrecision& prec, const float coordX, const int coordY, const Vec4& result) argument 665 isLinearSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec4& result) argument 725 isLinearSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec4& result) argument 796 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 832 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 882 isNearestMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& fBounds, const Vec4& result) argument 945 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 1024 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 1126 isLinearMipmapLinearSampleResultValid(const ConstPixelBufferAccess& level0, const ConstPixelBufferAccess& level1, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& fBounds, const Vec4& result) argument 1253 isLevelSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const Sampler::FilterMode filterMode, const LookupPrecision& prec, const float coordX, const int coordY, const Vec4& result) argument 1267 isLevelSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const Sampler::FilterMode filterMode, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec4& result) argument 1281 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 1297 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 1313 isLookupResultValid(const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result) argument 1378 isLookupResultValid(const Texture1DView& texture, const Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& result) argument 1445 const LookupPrecision& prec, member in namespace:tcu 1509 const LookupPrecision& prec, member in namespace:tcu 1624 const LookupPrecision& prec, member in namespace:tcu 1643 const LookupPrecision& prec, member in namespace:tcu 1665 isLookupResultValid(const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result) argument 1768 isLookupResultValid(const Texture1DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result) argument 1838 isLookupResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result) argument 1908 isLevelSampleResultValid(const ConstPixelBufferAccess& level, const Sampler& sampler, const Sampler::FilterMode filterMode, const LookupPrecision& prec, const Vec3& coord, const Vec4& result) argument 1921 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 1936 isLookupResultValid(const Texture3DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result) argument 2013 isLookupResultValid(const TextureCubeArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const IVec4& coordBits, const Vec4& coord, const Vec2& lodBounds, const Vec4& result) argument 2120 computeLodBoundsFromDerivates(const float dudx, const float dvdx, const float dwdx, const float dudy, const float dvdy, const float dwdy, const LodPrecision& prec) argument 2158 computeLodBoundsFromDerivates(const float dudx, const float dvdx, const float dudy, const float dvdy, const LodPrecision& prec) argument 2163 computeLodBoundsFromDerivates(const float dudx, const float dudy, const LodPrecision& prec) argument 2168 computeCubeLodBoundsFromDerivates(const Vec3& coord, const Vec3& coordDx, const Vec3& coordDy, const int faceSize, const LodPrecision& prec) argument 2226 clampLodBounds(const Vec2& lodBounds, const Vec2& lodMinMax, const LodPrecision& prec) argument 2234 isLevel1DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const LookupPrecision& prec, const float coordX, const int coordY, const Vec4& result) argument 2246 isLevel1DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const float coordX, const int coordY, const IVec4& result) argument 2259 isLevel1DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const float coordX, const int coordY, const UVec4& result) argument 2272 isLevel2DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const LookupPrecision& prec, const Vec2& coord, const int coordZ, const Vec4& result) argument 2284 isLevel2DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec2& coord, const int coordZ, const IVec4& result) argument 2297 isLevel2DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec2& coord, const int coordZ, const UVec4& result) argument 2310 isLevel3DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const LookupPrecision& prec, const Vec3& coord, const Vec4& result) argument 2321 isLevel3DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec3& coord, const IVec4& result) argument 2333 isLevel3DLookupResultValid(const ConstPixelBufferAccess& access, const Sampler& sampler, TexLookupScaleMode scaleMode, const IntLookupPrecision& prec, const Vec3& coord, const UVec4& result) argument 2346 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 2388 isGatherOffsetsResultValid(const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const Vec4& result) argument 2399 isGatherOffsetsResultValid(const Texture2DView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result) argument 2410 isGatherOffsetsResultValid(const Texture2DView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const UVec4& result) argument 2422 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 2439 isGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const Vec4& result) argument 2450 isGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result) argument 2461 isGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const UVec4& result) argument 2473 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const PrecType& prec, const CubeFaceFloatCoords& coords, int componentNdx, const Vector<ScalarType, 4>& result) argument 2530 isCubeGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const PrecType& prec, const Vec3& coord, int componentNdx, const Vector<ScalarType, 4>& result) argument 2556 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, int componentNdx, const Vec4& result) argument 2566 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec4& result) argument 2576 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const UVec4& result) argument [all...] |