Lines Matching refs:maxLevel
2253 int maxLevel = (int)numLevels-1; in sampleLevelArray1DOffset() local
2254 int level = deClamp32((int)deFloatCeil(lod + 0.5f) - 1, 0, maxLevel); in sampleLevelArray1DOffset()
2263 int maxLevel = (int)numLevels-1; in sampleLevelArray1DOffset() local
2264 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray1DOffset()
2265 int level1 = de::min(maxLevel, level0 + 1); in sampleLevelArray1DOffset()
2293 int maxLevel = (int)numLevels-1; in sampleLevelArray2DOffset() local
2294 int level = deClamp32((int)deFloatCeil(lod + 0.5f) - 1, 0, maxLevel); in sampleLevelArray2DOffset()
2303 int maxLevel = (int)numLevels-1; in sampleLevelArray2DOffset() local
2304 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray2DOffset()
2305 int level1 = de::min(maxLevel, level0 + 1); in sampleLevelArray2DOffset()
2333 int maxLevel = (int)numLevels-1; in sampleLevelArray3DOffset() local
2334 int level = deClamp32((int)deFloatCeil(lod + 0.5f) - 1, 0, maxLevel); in sampleLevelArray3DOffset()
2343 int maxLevel = (int)numLevels-1; in sampleLevelArray3DOffset() local
2344 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray3DOffset()
2345 int level1 = de::min(maxLevel, level0 + 1); in sampleLevelArray3DOffset()
2373 int maxLevel = (int)numLevels-1; in sampleLevelArray1DCompare() local
2374 int level = deClamp32((int)deFloatCeil(lod + 0.5f) - 1, 0, maxLevel); in sampleLevelArray1DCompare()
2383 int maxLevel = (int)numLevels-1; in sampleLevelArray1DCompare() local
2384 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray1DCompare()
2385 int level1 = de::min(maxLevel, level0 + 1); in sampleLevelArray1DCompare()
2413 int maxLevel = (int)numLevels-1; in sampleLevelArray2DCompare() local
2414 int level = deClamp32((int)deFloatCeil(lod + 0.5f) - 1, 0, maxLevel); in sampleLevelArray2DCompare()
2423 int maxLevel = (int)numLevels-1; in sampleLevelArray2DCompare() local
2424 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArray2DCompare()
2425 int level1 = de::min(maxLevel, level0 + 1); in sampleLevelArray2DCompare()
2748 int maxLevel = (int)numLevels-1; in sampleLevelArrayCubeSeamless() local
2749 int level = deClamp32((int)deFloatCeil(lod + 0.5f) - 1, 0, maxLevel); in sampleLevelArrayCubeSeamless()
2769 int maxLevel = (int)numLevels-1; in sampleLevelArrayCubeSeamless() local
2770 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArrayCubeSeamless()
2771 int level1 = de::min(maxLevel, level0 + 1); in sampleLevelArrayCubeSeamless()
2918 int maxLevel = (int)numLevels-1; in sampleLevelArrayCubeSeamlessCompare() local
2919 int level = deClamp32((int)deFloatCeil(lod + 0.5f) - 1, 0, maxLevel); in sampleLevelArrayCubeSeamlessCompare()
2939 int maxLevel = (int)numLevels-1; in sampleLevelArrayCubeSeamlessCompare() local
2940 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleLevelArrayCubeSeamlessCompare()
2941 int level1 = de::min(maxLevel, level0 + 1); in sampleLevelArrayCubeSeamlessCompare()
3010 int maxLevel = (int)numLevels-1; in sampleCubeArraySeamless() local
3011 int level = deClamp32((int)deFloatCeil(lod + 0.5f) - 1, 0, maxLevel); in sampleCubeArraySeamless()
3031 int maxLevel = (int)numLevels-1; in sampleCubeArraySeamless() local
3032 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleCubeArraySeamless()
3033 int level1 = de::min(maxLevel, level0 + 1); in sampleCubeArraySeamless()
3092 int maxLevel = (int)numLevels-1; in sampleCubeArraySeamlessCompare() local
3093 int level = deClamp32((int)deFloatCeil(lod + 0.5f) - 1, 0, maxLevel); in sampleCubeArraySeamlessCompare()
3113 int maxLevel = (int)numLevels-1; in sampleCubeArraySeamlessCompare() local
3114 int level0 = deClamp32((int)deFloatFloor(lod), 0, maxLevel); in sampleCubeArraySeamlessCompare()
3115 int level1 = de::min(maxLevel, level0 + 1); in sampleCubeArraySeamlessCompare()