Shader decompiler: Get PICA uniforms uploaded to the GPU

This commit is contained in:
wheremyfoodat 2024-07-26 14:28:48 +03:00
parent fd90cf7d9f
commit 67ff1ccb8b
3 changed files with 28 additions and 6 deletions

View file

@ -80,6 +80,8 @@ class RendererGL final : public Renderer {
// We can compile this once and then link it with all other generated fragment shaders
OpenGL::Shader defaultShadergenVs;
GLuint shadergenFragmentUBO;
// UBO for uploading the PICA uniforms when using hw shaders
GLuint hwShaderUniformUBO;
// Cached recompiled fragment shader
struct CachedProgram {