/third_party/vk-gl-cts/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 | 582 const Vec2& lodBounds, in verifySampleTexelGridCoords() argument 598 const bool canBeMinified = lodBounds[1] > 0.0f; in verifySampleTexelGridCoords() 599 const bool canBeMagnified = lodBounds[0] <= 0.0f; in verifySampleTexelGridCoords() 636 const Vec2 lodFracBounds = lodBounds - Vec2((float)level); in verifySampleTexelGridCoords() 672 const Vec2& lodBounds, in verifySampleMipmapLevel() argument 737 …if (verifySampleTexelGridCoords(args, result, gridCoord[0], gridCoord[1], lodBounds, level, mipmap… in verifySampleMipmapLevel() 783 Vec2 lodBounds; in verifySampleCubemapFace() local 792 lodBounds = calcLodBounds(dPdx.swizzle(0, 1, 2), in verifySampleCubemapFace() 801 lodBounds[0] = lodBounds[1] = args.lod; in verifySampleCubemapFace() 804 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 | 160 const tcu::Vec2& lodBounds,
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/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 | 582 const Vec2& lodBounds, in verifySampleTexelGridCoords() argument 598 const bool canBeMinified = lodBounds[1] > 0.0f; in verifySampleTexelGridCoords() 599 const bool canBeMagnified = lodBounds[0] <= 0.0f; in verifySampleTexelGridCoords() 636 const Vec2 lodFracBounds = lodBounds - Vec2((float)level); in verifySampleTexelGridCoords() 672 const Vec2& lodBounds, in verifySampleMipmapLevel() argument 737 …if (verifySampleTexelGridCoords(args, result, gridCoord[0], gridCoord[1], lodBounds, level, mipmap… in verifySampleMipmapLevel() 783 Vec2 lodBounds; in verifySampleCubemapFace() local 792 lodBounds = calcLodBounds(dPdx.swizzle(0, 1, 2), in verifySampleCubemapFace() 801 lodBounds[0] = lodBounds[1] = args.lod; in verifySampleCubemapFace() 804 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 | 160 const tcu::Vec2& lodBounds,
|
/third_party/vk-gl-cts/framework/common/ |
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… 58 …ampler, const TexComparePrecision& prec, const Vec1& coord, const Vec2& lodBounds, const float cmp… 59 …ampler, const TexComparePrecision& prec, const Vec2& coord, const Vec2& lodBounds, const float cmp… 60 …ampler, const TexComparePrecision& prec, const Vec4& coord, const Vec2& lodBounds, const float cmp…
|
D | tcuTexLookupVerifier.hpp | 112 Vec2 clampLodBounds (const Vec2& lodBounds, const Vec2& lodMinMax, const LodPrecision& prec); 114 …r& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& res… 115 …r& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& res… 116 …r& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& res… 117 …r& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& res… 118 …r& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& res… 119 …r& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& res… 120 …Precision& prec, const IVec4& coordBits, const Vec4& coord, const Vec2& lodBounds, const Vec4& res…
|
D | tcuTexCompareVerifier.cpp | 815 const Vec2& lodBounds, in isTexCompareResultValid() argument 819 const float minLod = lodBounds.x(); in isTexCompareResultValid() 820 const float maxLod = lodBounds.y(); in isTexCompareResultValid() 1405 …ampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmp… in isTexCompareResultValid() argument 1420 const float minLod = lodBounds.x(); in isTexCompareResultValid() 1421 const float maxLod = lodBounds.y(); in isTexCompareResultValid() 1482 …ampler, const TexComparePrecision& prec, const Vec3& coord, const Vec2& lodBounds, const float cmp… in isTexCompareResultValid() argument 1494 const float minLod = lodBounds.x(); in isTexCompareResultValid() 1495 const float maxLod = lodBounds.y(); in isTexCompareResultValid() 1560 const Vec2& lodBounds, in isTexCompareResultValid() argument [all …]
|
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 …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineImageSamplingInstance.cpp | 915 const tcu::Vec2& lodBounds, in isLookupResultValid() argument 918 return tcu::isLookupResultValid(texture, sampler, precision, coords.x(), lodBounds, result); in isLookupResultValid() 925 const tcu::Vec2& lodBounds, in isLookupResultValid() argument 928 …return tcu::isLookupResultValid(texture, sampler, precision, coords.swizzle(0,1), lodBounds, resul… in isLookupResultValid() 935 const tcu::Vec2& lodBounds, in isLookupResultValid() argument 938 …return tcu::isLookupResultValid(texture, sampler, precision, coords.swizzle(0,1), lodBounds, resul… in isLookupResultValid() 945 const tcu::Vec2& lodBounds, in isLookupResultValid() argument 948 …return tcu::isLookupResultValid(texture, sampler, precision, coords.swizzle(0,1,2), lodBounds, res… in isLookupResultValid() 955 const tcu::Vec2& lodBounds, in isLookupResultValid() argument 958 …return tcu::isLookupResultValid(texture, sampler, precision, coords.swizzle(0,1,2), lodBounds, res… in isLookupResultValid() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageSamplingInstance.cpp | 915 const tcu::Vec2& lodBounds, in isLookupResultValid() argument 918 return tcu::isLookupResultValid(texture, sampler, precision, coords.x(), lodBounds, result); in isLookupResultValid() 925 const tcu::Vec2& lodBounds, in isLookupResultValid() argument 928 …return tcu::isLookupResultValid(texture, sampler, precision, coords.swizzle(0,1), lodBounds, resul… in isLookupResultValid() 935 const tcu::Vec2& lodBounds, in isLookupResultValid() argument 938 …return tcu::isLookupResultValid(texture, sampler, precision, coords.swizzle(0,1), lodBounds, resul… in isLookupResultValid() 945 const tcu::Vec2& lodBounds, in isLookupResultValid() argument 948 …return tcu::isLookupResultValid(texture, sampler, precision, coords.swizzle(0,1,2), lodBounds, res… in isLookupResultValid() 955 const tcu::Vec2& lodBounds, in isLookupResultValid() argument 958 …return tcu::isLookupResultValid(texture, sampler, precision, coords.swizzle(0,1,2), lodBounds, res… in isLookupResultValid() [all …]
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluTextureTestUtil.cpp | 1361 tcu::Vec2 lodBounds = tcu::computeLodBoundsFromDerivates(coordDx, coordDy, lodPrec); in computeTextureLookupDiff() local 1375 lodBounds.x() = de::min(lodBounds.x(), lodO.x()); in computeTextureLookupDiff() 1376 lodBounds.y() = de::max(lodBounds.y(), lodO.y()); in computeTextureLookupDiff() 1379 …const tcu::Vec2 clampedLod = tcu::clampLodBounds(lodBounds + lodBias, tcu::Vec2(sampleParams.minLo… in computeTextureLookupDiff() 1499 …tcu::Vec2 lodBounds = tcu::computeLodBoundsFromDerivates(coordDx.x(), coordDx.y(), coordDy.x(), c… in computeTextureLookupDiff() local 1515 lodBounds.x() = de::min(lodBounds.x(), lodO.x()); in computeTextureLookupDiff() 1516 lodBounds.y() = de::max(lodBounds.y(), lodO.y()); in computeTextureLookupDiff() 1519 …const tcu::Vec2 clampedLod = tcu::clampLodBounds(lodBounds + lodBias, tcu::Vec2(minLod, samplePara… in computeTextureLookupDiff() 1726 …tcu::Vec2 lodBounds = tcu::computeCubeLodBoundsFromDerivates(coord, coordDx, coordDy, srcSize, lo… in computeTextureLookupDiff() local 1747 lodBounds.x() = de::min(lodBounds.x(), lodO.x()); in computeTextureLookupDiff() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/ |
D | vktYCbCrImageQueryTests.cpp | 727 …const Vec2 lodBounds (tcu::computeLodBoundsFromDerivates(dtdp.x(), 0.0f, 0.0f, dtdp.y(), lodPr… in testImageQueryLod() local 737 const bool lodOk = de::inRange(result.y(), lodBounds.x(), lodBounds.y()); in testImageQueryLod() 746 << ", expected (0, [" << lodBounds.x() << ", " << lodBounds.y() << "])" in testImageQueryLod()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrImageQueryTests.cpp | 727 …const Vec2 lodBounds (tcu::computeLodBoundsFromDerivates(dtdp.x(), 0.0f, 0.0f, dtdp.y(), lodPr… in testImageQueryLod() local 737 const bool lodOk = de::inRange(result.y(), lodBounds.x(), lodBounds.y()); in testImageQueryLod() 746 << ", expected (0, [" << lodBounds.x() << ", " << lodBounds.y() << "])" in testImageQueryLod()
|