Searched refs:cRange (Results 1 – 1 of 1) sorted by relevance
309 const Vec2 cRange = getChannelValueRange(format.type); in getTextureFormatInfo() local315 const float scale = 1.0f / (cRange[1] - cRange[0]); in getTextureFormatInfo()316 const float bias = -cRange[0] * scale; in getTextureFormatInfo()318 return TextureFormatInfo(select(cRange[0], 0.0f, chnMask), in getTextureFormatInfo()319 select(cRange[1], 0.0f, chnMask), in getTextureFormatInfo()