Home
last modified time | relevance | path

Searched refs:lodBounds (Results 1 – 11 of 11) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifierUtil.cpp63 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 …]
DvktSampleVerifier.cpp609 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 …]
DvktSampleVerifierUtil.hpp53 tcu::UVec2 calcLevelBounds (const tcu::Vec2& lodBounds,
56 tcu::Vec2 calcLevelLodBounds (const tcu::Vec2& lodBounds,
DvktSampleVerifier.hpp159 const tcu::Vec2& lodBounds,
/external/deqp/framework/common/
DtcuTexLookupVerifier.hpp111 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…
DtcuTexCompareVerifier.hpp55 …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…
DtcuTexLookupVerifier.cpp1313 …r& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& res… in isLookupResultValid() argument
1315 const float minLod = lodBounds.x(); in isLookupResultValid()
1316 const float maxLod = lodBounds.y(); in isLookupResultValid()
1378 …r& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& res… in isLookupResultValid() argument
1380 const float minLod = lodBounds.x(); in isLookupResultValid()
1381 const float maxLod = lodBounds.y(); in isLookupResultValid()
1665 …r& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& res… in isLookupResultValid() argument
1680 const float minLod = lodBounds.x(); in isLookupResultValid()
1681 const float maxLod = lodBounds.y(); in isLookupResultValid()
1768 …r& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& res… in isLookupResultValid() argument
[all …]
DtcuTexCompareVerifier.cpp809 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/
DvktPipelineImageSamplingInstance.cpp877 const tcu::Vec2& lodBounds, in isLookupResultValid() argument
880 return tcu::isLookupResultValid(texture, sampler, precision, coords.x(), lodBounds, result); in isLookupResultValid()
887 const tcu::Vec2& lodBounds, in isLookupResultValid() argument
890 …return tcu::isLookupResultValid(texture, sampler, precision, coords.swizzle(0,1), lodBounds, resul… in isLookupResultValid()
897 const tcu::Vec2& lodBounds, in isLookupResultValid() argument
900 …return tcu::isLookupResultValid(texture, sampler, precision, coords.swizzle(0,1), lodBounds, resul… in isLookupResultValid()
907 const tcu::Vec2& lodBounds, in isLookupResultValid() argument
910 …return tcu::isLookupResultValid(texture, sampler, precision, coords.swizzle(0,1,2), lodBounds, res… in isLookupResultValid()
917 const tcu::Vec2& lodBounds, in isLookupResultValid() argument
920 …return tcu::isLookupResultValid(texture, sampler, precision, coords.swizzle(0,1,2), lodBounds, res… in isLookupResultValid()
[all …]
/external/deqp/framework/opengl/
DgluTextureTestUtil.cpp1295 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/
DvktYCbCrImageQueryTests.cpp631 …const Vec2 lodBounds (tcu::computeLodBoundsFromDerivates(dtdp.x(), 0.0f, 0.0f, dtdp.y(), lodPr… in testImageQueryLod() local
641 const bool lodOk = de::inRange(result.y(), lodBounds.x(), lodBounds.y()); in testImageQueryLod()
650 << ", expected (0, [" << lodBounds.x() << ", " << lodBounds.y() << "])" in testImageQueryLod()