OGL: Remove some dead code.
OGL: Force highp for integers.
PixelShaderGen: Make SampleTexture static inline.
PixelShaderGen: Use integer math for alpha testing.
PixelShaderGen: Fix an issue where small negative z coordinates would underflow when they shouldn't.
PixelShaderGen: Use integer math for sampling textures.
PixelShaderGen: Use integer math for indirect texture coords.
PixelShaderGen: Use integer math for rasterizer color.
PixelShaderGen: Remove remaining floating point bits for texture color.
PixelShaderGen: Use integer math for tev konst value.
PixelShaderGen: Use integer math for tev outputs. Seems like things are temporarily broken.
PixelShaderGen: Use integer math for TEV combiners. Things are still broken.
PixelShaderGen: Remove superfluous registerstate stuff. Also, made alphabump an integer. Things are working again!
PixelShaderGen: prev should be initialized to the proper value; tev output needs to be clamped between -1024 and 1023.
PixelShaderGen: Use integer math for indirect tev stage texcoord calculation.
PixelShaderGen: Microsoft's shader compiler likes to throw an internal error when masking with unsigned integers, so just use 255 instead of 0xFF all over the place...
Provide our own dot functions in GLSL since GLSL doesn't provide integer versions of this function, even though AMD and Nvidia provide their own.
PixelShaderGen: Process fog calculations with integer math.
PixelShaderGen: Change the "colors" and "kcolors" uniforms to be integers.
PixelShaderGen: Change the "alpha" uniform to use integers.