diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-07-12 07:00:04 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-09-06 01:35:51 +0200 |
commit | 5edf24b51025fef4d78e5f9d4038267e472b2f55 (patch) | |
tree | 0feeea93d5741eb2fae7b428ecd78791ac819cbb /src/video_core/renderer_opengl/gl_state.h | |
parent | texture_cache: Pass TIC to texture cache (diff) | |
download | yuzu-5edf24b51025fef4d78e5f9d4038267e472b2f55.tar yuzu-5edf24b51025fef4d78e5f9d4038267e472b2f55.tar.gz yuzu-5edf24b51025fef4d78e5f9d4038267e472b2f55.tar.bz2 yuzu-5edf24b51025fef4d78e5f9d4038267e472b2f55.tar.lz yuzu-5edf24b51025fef4d78e5f9d4038267e472b2f55.tar.xz yuzu-5edf24b51025fef4d78e5f9d4038267e472b2f55.tar.zst yuzu-5edf24b51025fef4d78e5f9d4038267e472b2f55.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index fdf9a8a12..9748d60e2 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -134,6 +134,8 @@ public: }; std::array<TextureUnit, Tegra::Engines::Maxwell3D::Regs::NumTextureSamplers> texture_units; + std::array<GLuint, Tegra::Engines::Maxwell3D::Regs::NumImages> images{}; + struct { GLuint read_framebuffer; // GL_READ_FRAMEBUFFER_BINDING GLuint draw_framebuffer; // GL_DRAW_FRAMEBUFFER_BINDING @@ -220,6 +222,7 @@ public: void ApplyLogicOp() const; void ApplyTextures() const; void ApplySamplers() const; + void ApplyImages() const; void ApplyDepthClamp() const; void ApplyPolygonOffset() const; void ApplyAlphaTest() const; |