summaryrefslogtreecommitdiff
path: root/src/video_core/dirty_flags.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2021-07-25 11:39:04 -0700
committerGravatar GitHub2021-07-25 11:39:04 -0700
commit98b26b6e126d4775fdf3f773fe8a8ac808a8ff8f (patch)
tree816faa96c2c4d291825063433331a8ea4b3d08f1 /src/video_core/dirty_flags.cpp
parentMerge pull request #6699 from lat9nq/common-threads (diff)
parentshader: Support out of bound local memory reads and immediate writes (diff)
downloadyuzu-98b26b6e126d4775fdf3f773fe8a8ac808a8ff8f.tar.gz
yuzu-98b26b6e126d4775fdf3f773fe8a8ac808a8ff8f.tar.xz
yuzu-98b26b6e126d4775fdf3f773fe8a8ac808a8ff8f.zip
Merge pull request #6585 from ameerj/hades
Shader Decompiler Rewrite
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