diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-30 04:43:15 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 21:56:42 +0100 |
commit | b727d99441e20893faf24410947e158c8faf2d09 (patch) | |
tree | d470580b76aefd39e43bed932bc1817a5de11817 /src/video_core/renderer_opengl/gl_state_tracker.cpp | |
parent | gl_state_tracker: Implement dirty flags for alpha testing (diff) | |
download | yuzu-b727d99441e20893faf24410947e158c8faf2d09.tar yuzu-b727d99441e20893faf24410947e158c8faf2d09.tar.gz yuzu-b727d99441e20893faf24410947e158c8faf2d09.tar.bz2 yuzu-b727d99441e20893faf24410947e158c8faf2d09.tar.lz yuzu-b727d99441e20893faf24410947e158c8faf2d09.tar.xz yuzu-b727d99441e20893faf24410947e158c8faf2d09.tar.zst yuzu-b727d99441e20893faf24410947e158c8faf2d09.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 314d6f14d..c979046a3 100644 --- a/src/video_core/renderer_opengl/gl_state_tracker.cpp +++ b/src/video_core/renderer_opengl/gl_state_tracker.cpp @@ -185,6 +185,10 @@ void SetupDirtyPolygonOffset(Tables& tables) { table[OFF(polygon_offset_clamp)] = PolygonOffset; } +void SetupDirtyMultisampleControl(Tables& tables) { + FillBlock(tables[0], OFF(multisample_control), NUM(multisample_control), MultisampleControl); +} + void SetupDirtyMisc(Tables& tables) { auto& table = tables[0]; @@ -216,6 +220,7 @@ void StateTracker::Initialize() { SetupDirtyBlend(tables); SetupDirtyPrimitiveRestart(tables); SetupDirtyPolygonOffset(tables); + SetupDirtyMultisampleControl(tables); SetupDirtyMisc(tables); auto& store = dirty.on_write_stores; |