diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-30 04:49:19 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 21:56:42 +0100 |
commit | d8f5c450516c3956b422f0487293ea02620a3518 (patch) | |
tree | 06c933a0abd3679f73cbc869529952c86e71a0cc /src/video_core/renderer_opengl/gl_state_tracker.cpp | |
parent | gl_state_tracker: Implement dirty flags for multisample (diff) | |
download | yuzu-d8f5c450516c3956b422f0487293ea02620a3518.tar yuzu-d8f5c450516c3956b422f0487293ea02620a3518.tar.gz yuzu-d8f5c450516c3956b422f0487293ea02620a3518.tar.bz2 yuzu-d8f5c450516c3956b422f0487293ea02620a3518.tar.lz yuzu-d8f5c450516c3956b422f0487293ea02620a3518.tar.xz yuzu-d8f5c450516c3956b422f0487293ea02620a3518.tar.zst yuzu-d8f5c450516c3956b422f0487293ea02620a3518.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 c979046a3..ebfb1945f 100644 --- a/src/video_core/renderer_opengl/gl_state_tracker.cpp +++ b/src/video_core/renderer_opengl/gl_state_tracker.cpp @@ -189,6 +189,10 @@ void SetupDirtyMultisampleControl(Tables& tables) { FillBlock(tables[0], OFF(multisample_control), NUM(multisample_control), MultisampleControl); } +void SetupDirtyRasterizeEnable(Tables& tables) { + tables[0][OFF(rasterize_enable)] = RasterizeEnable; +} + void SetupDirtyMisc(Tables& tables) { auto& table = tables[0]; @@ -221,6 +225,7 @@ void StateTracker::Initialize() { SetupDirtyPrimitiveRestart(tables); SetupDirtyPolygonOffset(tables); SetupDirtyMultisampleControl(tables); + SetupDirtyRasterizeEnable(tables); SetupDirtyMisc(tables); auto& store = dirty.on_write_stores; |