Here it is at last: automatic generation of GL dispatch for GLES2. The code is available on the gles2 branch of my piglit tree. Next steps after this are gles1 (I've got some WIP code for it, though it takes a good bit more fixups than GLES2 did), and merging all this code to waffle once we're ready to require waffle all the time for piglit.