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