Improve error message and docs for common color index problem in GLSL.