summaryrefslogtreecommitdiff
path: root/src/video_core/dirty_flags.cpp
diff options
context:
space:
mode:
authorGravatar lat9nq2021-07-25 15:31:33 -0400
committerGravatar GitHub2021-07-25 15:31:33 -0400
commit09d6cc99435322c5f480eaa2b0967e33f4966ba6 (patch)
tree72cdf06f6b7d77fdf5826104fea691f3ea450f54 /src/video_core/dirty_flags.cpp
parentconfiguration: Use combobox apply template where possible (diff)
parentMerge pull request #6575 from FernandoS27/new_settings (diff)
downloadyuzu-09d6cc99435322c5f480eaa2b0967e33f4966ba6.tar.gz
yuzu-09d6cc99435322c5f480eaa2b0967e33f4966ba6.tar.xz
yuzu-09d6cc99435322c5f480eaa2b0967e33f4966ba6.zip
Merge branch 'master' into fullscreen-enum
Diffstat (limited to 'src/video_core/dirty_flags.cpp')
-rw-r--r--src/video_core/dirty_flags.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/dirty_flags.cpp b/src/video_core/dirty_flags.cpp
index 7149af290..b1be065c3 100644
--- a/src/video_core/dirty_flags.cpp
+++ b/src/video_core/dirty_flags.cpp
@@ -58,6 +58,11 @@ void SetupDirtyRenderTargets(Maxwell3D::DirtyState::Tables& tables) {
58 FillBlock(table, OFF(zeta), NUM(zeta), flag); 58 FillBlock(table, OFF(zeta), NUM(zeta), flag);
59 } 59 }
60} 60}
61
62void SetupDirtyShaders(Maxwell3D::DirtyState::Tables& tables) {
63 FillBlock(tables[0], OFF(shader_config[0]),
64 NUM(shader_config[0]) * Maxwell3D::Regs::MaxShaderProgram, Shaders);
65}
61} // Anonymous namespace 66} // Anonymous namespace
62 67
63void SetupDirtyFlags(Maxwell3D::DirtyState::Tables& tables) { 68void SetupDirtyFlags(Maxwell3D::DirtyState::Tables& tables) {
@@ -65,6 +70,7 @@ void SetupDirtyFlags(Maxwell3D::DirtyState::Tables& tables) {
65 SetupIndexBuffer(tables); 70 SetupIndexBuffer(tables);
66 SetupDirtyDescriptors(tables); 71 SetupDirtyDescriptors(tables);
67 SetupDirtyRenderTargets(tables); 72 SetupDirtyRenderTargets(tables);
73 SetupDirtyShaders(tables);
68} 74}
69 75
70} // namespace VideoCommon::Dirty 76} // namespace VideoCommon::Dirty