Fixed some shader cache issues
We now check GL_NUM_SHADER_BINARY_FORMATS to ensure that it is greater
than zero, and handle errors that occur when we try to install a
cached shader by falling back to using GLSL.
Reviewed-by: Brian Salomon <email@example.com>
Commit-Queue: Ethan Nicholas <firstname.lastname@example.org>
3 files changed