I am trying to use shader and program binaries with PVRFrame and I have issues with both.
First, querying GL_NUM_SHADER_BINARY_FORMATS reports 0, even though GL_IMG_shader_binary extension is advertised. Thus I get no supported shader binary formats.
Second, if I pretend that GL_SGX_BINARY_IMG (0x8c0a) is supported, glShaderBinary() rejects it.
Third, querying program binary formats appears to return host GL program binary formats, not IMG program binary formats. Maybe this is what happens with shader binary formats as well?
PVRFrame documentation claims that both IMG_shader_binary and IMG_program_binary extensions are supported. Can you confirm if they should work or not?
Tested with SDK 4.0:
GL vendor: Imagination Technologies (Host: NVIDIA Corporation)
GL renderer: PVRVFrame 10.2 - PowerVR G6X00 (Host : GeForce GTX 760/PCIe/SSE2) (SDK Build: 4.0@3835662)
GL version: OpenGL ES 3.0 (Host : 4.5.0 NVIDIA 355.82) (300)