diff options
author | wwylele <wwylele@gmail.com> | 2017-06-16 13:00:15 +0200 |
---|---|---|
committer | wwylele <wwylele@gmail.com> | 2017-06-21 22:13:06 +0200 |
commit | ab60414122184851415a27ae8bcacb4aab0504b6 (patch) | |
tree | f26b042d908ede118686e781eedfec24539ab299 /src/video_core/renderer_opengl/gl_rasterizer.h | |
parent | Merge pull request #2776 from wwylele/geo-factor (diff) | |
download | yuzu-ab60414122184851415a27ae8bcacb4aab0504b6.tar yuzu-ab60414122184851415a27ae8bcacb4aab0504b6.tar.gz yuzu-ab60414122184851415a27ae8bcacb4aab0504b6.tar.bz2 yuzu-ab60414122184851415a27ae8bcacb4aab0504b6.tar.lz yuzu-ab60414122184851415a27ae8bcacb4aab0504b6.tar.xz yuzu-ab60414122184851415a27ae8bcacb4aab0504b6.tar.zst yuzu-ab60414122184851415a27ae8bcacb4aab0504b6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index d9a3e9d1c..79acd4230 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -263,7 +263,7 @@ private: struct { UniformData data; - bool lut_dirty[6]; + std::array<bool, Pica::LightingRegs::NumLightingSampler> lut_dirty; bool fog_lut_dirty; bool proctex_noise_lut_dirty; bool proctex_color_map_dirty; @@ -279,8 +279,9 @@ private: OGLBuffer uniform_buffer; OGLFramebuffer framebuffer; - std::array<OGLTexture, 6> lighting_luts; - std::array<std::array<GLvec4, 256>, 6> lighting_lut_data{}; + OGLBuffer lighting_lut_buffer; + OGLTexture lighting_lut; + std::array<std::array<GLvec2, 256>, Pica::LightingRegs::NumLightingSampler> lighting_lut_data{}; OGLTexture fog_lut; std::array<GLuint, 128> fog_lut_data{}; |