Searched refs:cRange (Results 1 – 1 of 1) sorted by relevance
446 const Vec2 cRange = getFloatChannelValueRange(format.type); in getTextureFormatInfo() local452 const float scale = 1.0f / (cRange[1] - cRange[0]); in getTextureFormatInfo()453 const float bias = -cRange[0] * scale; in getTextureFormatInfo()455 return TextureFormatInfo(select(cRange[0], 0.0f, chnMask), in getTextureFormatInfo()456 select(cRange[1], 0.0f, chnMask), in getTextureFormatInfo()