Make sure frag shader ID matches generated code.

Before, we would use an id with alphatest on, but not actually compile in
alphatest.  Or, we would use a shader with alphatest, when we actually
could compile it out.
Merge pull request #4322 from unknownbrackets/gpu-minor

Make sure frag shader ID matches generated code