Commit Graph

4 Commits (fd166a4485bea981e1e9f596261e818a190f6801)

Author SHA1 Message Date
Connor McLaughlin fd166a4485 ShaderCache: Add a data version field
We can increment this to prevent people's shader caches from growing too
large with shader changes.
5 years ago
Connor McLaughlin b45b70970b GL/ShaderCache: Support geometry shaders 6 years ago
Connor McLaughlin f566ca7a50 GL/ShaderCache: Recreate cache when creating program from binary fails
This is probably due to a driver or GPU change, so all programs will be
"bad" and if we don't start from scratch, we'll never cache any new
program versions.
6 years ago
Connor McLaughlin ca2f691dbe Common: Add GL Shader Cache class 6 years ago