4 ms·
You can get the main motivation for glProgramBinary right from the horse's mouth (i.e. https://www.opengl.org/registry/specs/ARB/get_program_binary.txt https://
by nhaehnle 11y ago
You can get the main motivation for glProgramBinary right from the horse's mouth (i.e. https://www.opengl.org/registry/specs/ARB/get_program_binary.txt https://www.opengl.org/registry/specs/ARB/get_program_binary... ):
This is a very useful path for applications that wish to remain portable by shipping pure GLSL source shaders, yet would like to avoid the cost of compiling their shaders at runtime.
- Qantourisc 11y agoI see this a lot on NVidia driver on Linux games. Games where slow to load. NVidia's fix -> compiled sharers cache. They are stored in ~/.nv (ftp://download.nvidia.com/XFree86/FreeBSD-x86/295.71/README/openglenvvariables.html)
- robbies 11y agoThis is relatively old NV functionality. However, there were some complaints about this folder ballooning after installing a couple driver updates, which caused brand new shader blobs to be built. Not a huge issue, but that spurred some of the extension getting traction to allow games to manage the process