Lines Matching refs:maxTexLevel

1274 		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()
1345 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1346 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1363 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
1364 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid()
1632 const int maxTexLevel = texture.getNumLevels()-1; in isLookupResultValid() local
1634 DE_ASSERT(minTexLevel <= maxTexLevel); in isLookupResultValid()
1636 if (isLinearMipmap && minTexLevel < maxTexLevel) in isLookupResultValid()
1638 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1639 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1662 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
1663 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid()
1725 const int maxTexLevel = texture.getNumLevels()-1; in isLookupResultValid() local
1727 DE_ASSERT(minTexLevel <= maxTexLevel); in isLookupResultValid()
1729 if (isLinearMipmap && minTexLevel < maxTexLevel) in isLookupResultValid()
1731 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1732 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1749 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
1750 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid()
1795 const int maxTexLevel = texture.getNumLevels()-1; in isLookupResultValid() local
1797 DE_ASSERT(minTexLevel <= maxTexLevel); in isLookupResultValid()
1799 if (isLinearMipmap && minTexLevel < maxTexLevel) in isLookupResultValid()
1801 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1802 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1819 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
1820 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid()
1889 const int maxTexLevel = texture.getNumLevels()-1; in isLookupResultValid() local
1891 DE_ASSERT(minTexLevel <= maxTexLevel); in isLookupResultValid()
1893 if (isLinearMipmap && minTexLevel < maxTexLevel) in isLookupResultValid()
1895 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1896 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1913 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
1914 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid()
1984 const int maxTexLevel = texture.getNumLevels()-1; in isLookupResultValid() local
1986 DE_ASSERT(minTexLevel <= maxTexLevel); in isLookupResultValid()
1988 if (isLinearMipmap && minTexLevel < maxTexLevel) in isLookupResultValid()
1990 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1991 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
2014 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
2015 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid()