Lines Matching refs:clampedBase
112 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView() local
113 const int clampedMax = de::clamp(maxLevel, clampedBase, view.getNumLevels()-1); in getSubView()
114 const int numLevels = clampedMax-clampedBase+1; in getSubView()
115 return tcu::Texture1DView(numLevels, view.getLevels()+clampedBase); in getSubView()
120 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView() local
121 const int clampedMax = de::clamp(maxLevel, clampedBase, view.getNumLevels()-1); in getSubView()
122 const int numLevels = clampedMax-clampedBase+1; in getSubView()
123 return tcu::Texture2DView(numLevels, view.getLevels()+clampedBase); in getSubView()
128 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView() local
129 const int clampedMax = de::clamp(maxLevel, clampedBase, view.getNumLevels()-1); in getSubView()
130 const int numLevels = clampedMax-clampedBase+1; in getSubView()
134 levels[face] = view.getFaceLevels((tcu::CubeFace)face) + clampedBase; in getSubView()
141 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView() local
142 const int clampedMax = de::clamp(maxLevel, clampedBase, view.getNumLevels()-1); in getSubView()
143 const int numLevels = clampedMax-clampedBase+1; in getSubView()
144 return tcu::Texture3DView(numLevels, view.getLevels()+clampedBase); in getSubView()
149 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView() local
150 const int clampedMax = de::clamp(maxLevel, clampedBase, view.getNumLevels()-1); in getSubView()
151 const int numLevels = clampedMax-clampedBase+1; in getSubView()
152 return tcu::TextureCubeArrayView(numLevels, view.getLevels()+clampedBase); in getSubView()