kripken/emscripten — pull request #2021 by juj (2014-01-15 20:13:14+00:00)
Title: GL_COMBINE shader.

Optimize FFP GL shader generation in the case when GL_COMBINE is used. This merges duplicate texture loads into one and avoids a redundant * 1.0 op.