fixup! PixelShaderGen: Use integer math for sampling textures.
fixup! PixelShaderGen: Process fog calculations with integer math.
ConstantManager: Do not use single-element arrays.