summaryrefslogtreecommitdiffstats
path: root/src/video_core/dirty_flags.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-04-24 23:27:25 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:29 +0200
commitf4ace63957ee47c4e3e913954f07375d0391beae (patch)
tree43ed58cf34f507d7a5696ad7d5cd7d7df2e70940 /src/video_core/dirty_flags.cpp
parentshader: Fix BFE s32 undefined check (diff)
downloadyuzu-f4ace63957ee47c4e3e913954f07375d0391beae.tar
yuzu-f4ace63957ee47c4e3e913954f07375d0391beae.tar.gz
yuzu-f4ace63957ee47c4e3e913954f07375d0391beae.tar.bz2
yuzu-f4ace63957ee47c4e3e913954f07375d0391beae.tar.lz
yuzu-f4ace63957ee47c4e3e913954f07375d0391beae.tar.xz
yuzu-f4ace63957ee47c4e3e913954f07375d0391beae.tar.zst
yuzu-f4ace63957ee47c4e3e913954f07375d0391beae.zip
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) {
FillBlock(table, OFF(zeta), NUM(zeta), flag);
}
}
+
+void SetupDirtyShaders(Maxwell3D::DirtyState::Tables& tables) {
+ FillBlock(tables[0], OFF(shader_config[0]),
+ NUM(shader_config[0]) * Maxwell3D::Regs::MaxShaderProgram, Shaders);
+}
} // Anonymous namespace
void SetupDirtyFlags(Maxwell3D::DirtyState::Tables& tables) {
@@ -65,6 +70,7 @@ void SetupDirtyFlags(Maxwell3D::DirtyState::Tables& tables) {
SetupIndexBuffer(tables);
SetupDirtyDescriptors(tables);
SetupDirtyRenderTargets(tables);
+ SetupDirtyShaders(tables);
}
} // namespace VideoCommon::Dirty