GPU/HW/OpenGL: Use shader cache

This commit is contained in:
Connor McLaughlin
2020-04-04 00:11:20 +10:00
parent f566ca7a50
commit d0be5618ec
2 changed files with 62 additions and 64 deletions

View File

@ -2,6 +2,7 @@
#include "common/gl/program.h"
#include "common/gl/stream_buffer.h"
#include "common/gl/texture.h"
#include "common/gl/shader_cache.h"
#include "glad.h"
#include "gpu_hw.h"
#include <array>
@ -58,6 +59,8 @@ private:
void SetScissorFromDrawingArea();
void UploadUniformBlock(const void* data, u32 data_size);
GL::ShaderCache m_shader_cache;
// downsample texture - used for readbacks at >1xIR.
GL::Texture m_vram_texture;
GL::Texture m_vram_read_texture;