Searched refs:clampedBase (Results 1 – 1 of 1) sorted by relevance
/external/deqp/framework/opengl/ |
D | gluTextureTestUtil.cpp | 105 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView() local 106 const int clampedMax = de::clamp(maxLevel, clampedBase, view.getNumLevels()-1); in getSubView() 107 const int numLevels = clampedMax-clampedBase+1; in getSubView() 108 return tcu::Texture1DView(numLevels, view.getLevels()+clampedBase); in getSubView() 113 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView() local 114 const int clampedMax = de::clamp(maxLevel, clampedBase, view.getNumLevels()-1); in getSubView() 115 const int numLevels = clampedMax-clampedBase+1; in getSubView() 116 return tcu::Texture2DView(numLevels, view.getLevels()+clampedBase); in getSubView() 121 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView() local 122 const int clampedMax = de::clamp(maxLevel, clampedBase, view.getNumLevels()-1); in getSubView() [all …]
|