/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktSampleVerifierUtil.cpp | 63 UVec2 calcLevelBounds (const Vec2& lodBounds, in calcLevelBounds() argument 67 DE_ASSERT(lodBounds[0] <= lodBounds[1]); in calcLevelBounds() 76 if (lodBounds[0] <= 0.5f) in calcLevelBounds() 80 else if (lodBounds[0] < q + 0.5f) in calcLevelBounds() 82 levelBounds[0] = deCeilFloatToInt32(lodBounds[0] + 0.5f) - 1; in calcLevelBounds() 89 if (lodBounds[1] < 0.5f) in calcLevelBounds() 93 else if (lodBounds[1] < q + 0.5f) in calcLevelBounds() 95 levelBounds[1] = deFloorFloatToInt32(lodBounds[1] + 0.5f); in calcLevelBounds() 106 if (lodBounds[ndx] >= q) in calcLevelBounds() 112 levelBounds[ndx] = lodBounds[ndx] < 0.0f ? 0 : deFloorFloatToInt32(lodBounds[ndx]); in calcLevelBounds() [all …]
|
D | vktSampleVerifier.cpp | 609 const Vec2& lodBounds, in verifySampleTexelGridCoords() argument 625 const bool canBeMinified = lodBounds[1] > 0.0f; in verifySampleTexelGridCoords() 626 const bool canBeMagnified = lodBounds[0] <= 0.0f; in verifySampleTexelGridCoords() 663 const Vec2 lodFracBounds = lodBounds - Vec2((float)level); in verifySampleTexelGridCoords() 699 const Vec2& lodBounds, in verifySampleMipmapLevel() argument 764 …if (verifySampleTexelGridCoords(args, result, gridCoord[0], gridCoord[1], lodBounds, level, mipmap… in verifySampleMipmapLevel() 810 Vec2 lodBounds; in verifySampleCubemapFace() local 819 lodBounds = calcLodBounds(dPdx.swizzle(0, 1, 2), in verifySampleCubemapFace() 828 lodBounds[0] = lodBounds[1] = args.lod; in verifySampleCubemapFace() 831 DE_ASSERT(lodBounds[0] <= lodBounds[1]); in verifySampleCubemapFace() [all …]
|
D | vktSampleVerifierUtil.hpp | 53 tcu::UVec2 calcLevelBounds (const tcu::Vec2& lodBounds, 56 tcu::Vec2 calcLevelLodBounds (const tcu::Vec2& lodBounds,
|
D | vktSampleVerifier.hpp | 159 const tcu::Vec2& lodBounds,
|
/external/deqp/framework/common/ |
D | tcuTexLookupVerifier.hpp | 111 Vec2 clampLodBounds (const Vec2& lodBounds, const Vec2& lodMinMax, const LodPrecision& prec); 113 …r& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& res… 114 …r& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& res… 115 …r& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& res… 116 …r& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& res… 117 …r& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& res… 118 …r& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& res… 119 …Precision& prec, const IVec4& coordBits, const Vec4& coord, const Vec2& lodBounds, const Vec4& res…
|
D | tcuTexCompareVerifier.hpp | 55 …ampler, const TexComparePrecision& prec, const Vec2& coord, const Vec2& lodBounds, const float cmp… 56 …ampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmp… 57 …ampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmp…
|
D | tcuTexLookupVerifier.cpp | 1389 …r& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& res… in isLookupResultValid() argument 1391 const float minLod = lodBounds.x(); in isLookupResultValid() 1392 const float maxLod = lodBounds.y(); in isLookupResultValid() 1454 …r& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& res… in isLookupResultValid() argument 1456 const float minLod = lodBounds.x(); in isLookupResultValid() 1457 const float maxLod = lodBounds.y(); in isLookupResultValid() 1751 …r& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& res… in isLookupResultValid() argument 1766 const float minLod = lodBounds.x(); in isLookupResultValid() 1767 const float maxLod = lodBounds.y(); in isLookupResultValid() 1854 …r& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& res… in isLookupResultValid() argument [all …]
|
D | tcuTexCompareVerifier.cpp | 809 const Vec2& lodBounds, in isTexCompareResultValid() argument 813 const float minLod = lodBounds.x(); in isTexCompareResultValid() 814 const float maxLod = lodBounds.y(); in isTexCompareResultValid() 1083 …ampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmp… in isTexCompareResultValid() argument 1098 const float minLod = lodBounds.x(); in isTexCompareResultValid() 1099 const float maxLod = lodBounds.y(); in isTexCompareResultValid() 1160 …ampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmp… in isTexCompareResultValid() argument 1172 const float minLod = lodBounds.x(); in isTexCompareResultValid() 1173 const float maxLod = lodBounds.y(); in isTexCompareResultValid()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageSamplingInstance.cpp | 775 const tcu::Vec2& lodBounds, in isLookupResultValid() argument 778 return tcu::isLookupResultValid(texture, sampler, precision, coords.x(), lodBounds, result); in isLookupResultValid() 785 const tcu::Vec2& lodBounds, in isLookupResultValid() argument 788 …return tcu::isLookupResultValid(texture, sampler, precision, coords.swizzle(0,1), lodBounds, resul… in isLookupResultValid() 795 const tcu::Vec2& lodBounds, in isLookupResultValid() argument 798 …return tcu::isLookupResultValid(texture, sampler, precision, coords.swizzle(0,1), lodBounds, resul… in isLookupResultValid() 805 const tcu::Vec2& lodBounds, in isLookupResultValid() argument 808 …return tcu::isLookupResultValid(texture, sampler, precision, coords.swizzle(0,1,2), lodBounds, res… in isLookupResultValid() 815 const tcu::Vec2& lodBounds, in isLookupResultValid() argument 818 …return tcu::isLookupResultValid(texture, sampler, precision, coords.swizzle(0,1,2), lodBounds, res… in isLookupResultValid() [all …]
|
/external/deqp/framework/opengl/ |
D | gluTextureTestUtil.cpp | 1295 tcu::Vec2 lodBounds = tcu::computeLodBoundsFromDerivates(coordDx, coordDy, lodPrec); in computeTextureLookupDiff() local 1309 lodBounds.x() = de::min(lodBounds.x(), lodO.x()); in computeTextureLookupDiff() 1310 lodBounds.y() = de::max(lodBounds.y(), lodO.y()); in computeTextureLookupDiff() 1313 …const tcu::Vec2 clampedLod = tcu::clampLodBounds(lodBounds + lodBias, tcu::Vec2(sampleParams.minLo… in computeTextureLookupDiff() 1414 …tcu::Vec2 lodBounds = tcu::computeLodBoundsFromDerivates(coordDx.x(), coordDx.y(), coordDy.x(), c… in computeTextureLookupDiff() local 1430 lodBounds.x() = de::min(lodBounds.x(), lodO.x()); in computeTextureLookupDiff() 1431 lodBounds.y() = de::max(lodBounds.y(), lodO.y()); in computeTextureLookupDiff() 1434 …const tcu::Vec2 clampedLod = tcu::clampLodBounds(lodBounds + lodBias, tcu::Vec2(sampleParams.minLo… in computeTextureLookupDiff() 1624 …tcu::Vec2 lodBounds = tcu::computeCubeLodBoundsFromDerivates(coord, coordDx, coordDy, srcSize, lo… in computeTextureLookupDiff() local 1645 lodBounds.x() = de::min(lodBounds.x(), lodO.x()); in computeTextureLookupDiff() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrImageQueryTests.cpp | 641 …const Vec2 lodBounds (tcu::computeLodBoundsFromDerivates(dtdp.x(), 0.0f, 0.0f, dtdp.y(), lodPr… in testImageQueryLod() local 651 const bool lodOk = de::inRange(result.y(), lodBounds.x(), lodBounds.y()); in testImageQueryLod() 660 << ", expected (0, [" << lodBounds.x() << ", " << lodBounds.y() << "])" in testImageQueryLod()
|