const U64 maxValPerChannel = (U64)1 << mBitsPerChannel;
Merge pull request #984 from Azaezel/mBitsPerChannel_match_DX_OGL

const U64 maxValPerChannel = (U64)1 << mBitsPerChannel;