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 <firstname.lastname@example.org>
Commit-Queue: Ethan Nicholas <email@example.com>
3 files changed