• Home
  • Raw
  • Download

Lines Matching refs:clampedBase

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()
123 const int numLevels = clampedMax-clampedBase+1; in getSubView()
127 levels[face] = view.getFaceLevels((tcu::CubeFace)face) + clampedBase; in getSubView()
134 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView() local
135 const int clampedMax = de::clamp(maxLevel, clampedBase, view.getNumLevels()-1); in getSubView()
136 const int numLevels = clampedMax-clampedBase+1; in getSubView()
137 return tcu::Texture3DView(numLevels, view.getLevels()+clampedBase); in getSubView()
142 const int clampedBase = de::clamp(baseLevel, 0, view.getNumLevels()-1); in getSubView() local
143 const int clampedMax = de::clamp(maxLevel, clampedBase, view.getNumLevels()-1); in getSubView()
144 const int numLevels = clampedMax-clampedBase+1; in getSubView()
145 return tcu::TextureCubeArrayView(numLevels, view.getLevels()+clampedBase); in getSubView()