Merge branch 'master' into shader-decomp

This commit is contained in:
wheremyfoodat 2024-07-25 22:27:15 +03:00
commit 69accdec54
8 changed files with 34 additions and 26 deletions

View file

@ -76,11 +76,11 @@ class RendererGL final : public Renderer {
// The "default" vertex shader to use when using specialized shaders but not PICA vertex shader -> GLSL recompilation
// We can compile this once and then link it with all other generated fragment shaders
OpenGL::Shader defaultShadergenVs;
GLuint shadergenFragmentUBO;
// Cached recompiled fragment shader
struct CachedProgram {
OpenGL::Program program;
uint uboBinding;
};
struct ShaderCache {