Support for GLES2-only drivers
If you've got a GLES2 driver in Mesa, you end up with desktop 1.4 as well, and that requires that you use some other entrypoints to get at shaders. (Unfortunately, they're not aliasable entrypoints, so libepoxy doesn't hide this for you).
While here, clean up to use some libepoxy helpers instead of rolling our own.