Lines Matching refs:maxTexLevel
1409 const int maxTexLevel = texture.getNumLevels()-1; in isLookupResultValid() local
1411 DE_ASSERT(minTexLevel <= maxTexLevel); in isLookupResultValid()
1413 if (isLinearMipmap && minTexLevel < maxTexLevel) in isLookupResultValid()
1415 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1416 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1433 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
1434 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid()
1474 const int maxTexLevel = texture.getNumLevels()-1; in isLookupResultValid() local
1476 DE_ASSERT(minTexLevel <= maxTexLevel); in isLookupResultValid()
1478 if (isLinearMipmap && minTexLevel < maxTexLevel) in isLookupResultValid()
1480 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1481 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1498 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
1499 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid()
1785 const int maxTexLevel = texture.getNumLevels()-1; in isLookupResultValid() local
1787 DE_ASSERT(minTexLevel <= maxTexLevel); in isLookupResultValid()
1789 if (isLinearMipmap && minTexLevel < maxTexLevel) in isLookupResultValid()
1791 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1792 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1815 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
1816 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid()
1878 const int maxTexLevel = texture.getNumLevels()-1; in isLookupResultValid() local
1880 DE_ASSERT(minTexLevel <= maxTexLevel); in isLookupResultValid()
1882 if (isLinearMipmap && minTexLevel < maxTexLevel) in isLookupResultValid()
1884 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1885 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1902 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
1903 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid()
1948 const int maxTexLevel = texture.getNumLevels()-1; in isLookupResultValid() local
1950 DE_ASSERT(minTexLevel <= maxTexLevel); in isLookupResultValid()
1952 if (isLinearMipmap && minTexLevel < maxTexLevel) in isLookupResultValid()
1954 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1955 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
1972 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
1973 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid()
2042 const int maxTexLevel = texture.getNumLevels()-1; in isLookupResultValid() local
2044 DE_ASSERT(minTexLevel <= maxTexLevel); in isLookupResultValid()
2046 if (isLinearMipmap && minTexLevel < maxTexLevel) in isLookupResultValid()
2048 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
2049 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
2066 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
2067 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid()
2137 const int maxTexLevel = texture.getNumLevels()-1; in isLookupResultValid() local
2139 DE_ASSERT(minTexLevel <= maxTexLevel); in isLookupResultValid()
2141 if (isLinearMipmap && minTexLevel < maxTexLevel) in isLookupResultValid()
2143 const int minLevel = de::clamp((int)deFloatFloor(minLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
2144 const int maxLevel = de::clamp((int)deFloatFloor(maxLod), minTexLevel, maxTexLevel-1); in isLookupResultValid()
2167 const int minLevel = de::clamp((int)deFloatCeil(minLod + 0.5f) - 1, minTexLevel, maxTexLevel); in isLookupResultValid()
2168 const int maxLevel = de::clamp((int)deFloatFloor(maxLod + 0.5f), minTexLevel, maxTexLevel); in isLookupResultValid()