GPU/HW/OpenGLES: Use shader cache

This commit is contained in:
Connor McLaughlin
2020-04-04 00:11:27 +10:00
parent d0be5618ec
commit bb3c0a2ccc
2 changed files with 38 additions and 39 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>
@@ -53,6 +54,8 @@ private:
void SetDrawState(BatchRenderMode render_mode);
void SetScissorFromDrawingArea();
GL::ShaderCache m_shader_cache;
// downsample texture - used for readbacks at >1xIR.
GL::Texture m_vram_texture;
GL::Texture m_vram_read_texture;