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