Home
last modified time | relevance | path

Searched refs:maxTexLevel (Results 1 – 2 of 2) sorted by relevance

/external/deqp/framework/common/
DtcuTexLookupVerifier.cpp1274 const int maxTexLevel = texture.getNumLevels()-1; in isLookupResultValid() local
1276 DE_ASSERT(minTexLevel <= maxTexLevel); in isLookupResultValid()
1278 if (isLinearMipmap && minTexLevel < maxTexLevel) in isLookupResultValid()
1280 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1281 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1298 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
1299 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid()
1339 const int maxTexLevel = texture.getNumLevels()-1; in isLookupResultValid() local
1341 DE_ASSERT(minTexLevel <= maxTexLevel); in isLookupResultValid()
1343 if (isLinearMipmap && minTexLevel < maxTexLevel) in isLookupResultValid()
[all …]
DtcuTexCompareVerifier.cpp829 const int maxTexLevel = texture.getNumLevels()-1; in isTexCompareResultValid() local
831 DE_ASSERT(minTexLevel < maxTexLevel); in isTexCompareResultValid()
835 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid()
836 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid()
853 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isTexCompareResultValid()
854 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isTexCompareResultValid()
1112 const int maxTexLevel = texture.getNumLevels()-1; in isTexCompareResultValid() local
1114 DE_ASSERT(minTexLevel < maxTexLevel); in isTexCompareResultValid()
1118 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid()
1119 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isTexCompareResultValid()
[all …]