diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-30 04:57:50 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 21:56:42 +0100 |
commit | bf1a1d989f03b6597a34de8d97b29c189e293134 (patch) | |
tree | 5c0225f8255b1fa0573b863891f2ec462f376bbc /src/video_core/renderer_opengl/gl_state_tracker.cpp | |
parent | gl_state_tracker: Implement dirty flags for sRGB (diff) | |
download | yuzu-bf1a1d989f03b6597a34de8d97b29c189e293134.tar yuzu-bf1a1d989f03b6597a34de8d97b29c189e293134.tar.gz yuzu-bf1a1d989f03b6597a34de8d97b29c189e293134.tar.bz2 yuzu-bf1a1d989f03b6597a34de8d97b29c189e293134.tar.lz yuzu-bf1a1d989f03b6597a34de8d97b29c189e293134.tar.xz yuzu-bf1a1d989f03b6597a34de8d97b29c189e293134.tar.zst yuzu-bf1a1d989f03b6597a34de8d97b29c189e293134.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_state_tracker.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_state_tracker.cpp b/src/video_core/renderer_opengl/gl_state_tracker.cpp index a99a94aff..d6ad25ee9 100644 --- a/src/video_core/renderer_opengl/gl_state_tracker.cpp +++ b/src/video_core/renderer_opengl/gl_state_tracker.cpp @@ -197,6 +197,10 @@ void SetupDirtyFramebufferSRGB(Tables& tables) { tables[0][OFF(framebuffer_srgb)] = FramebufferSRGB; } +void SetupDirtyLogicOp(Tables& tables) { + FillBlock(tables[0], OFF(logic_op), NUM(logic_op), LogicOp); +} + void SetupDirtyMisc(Tables& tables) { auto& table = tables[0]; @@ -231,6 +235,7 @@ void StateTracker::Initialize() { SetupDirtyMultisampleControl(tables); SetupDirtyRasterizeEnable(tables); SetupDirtyFramebufferSRGB(tables); + SetupDirtyLogicOp(tables); SetupDirtyMisc(tables); auto& store = dirty.on_write_stores; |