diff options
| author | 2021-07-25 11:39:04 -0700 | |
|---|---|---|
| committer | 2021-07-25 11:39:04 -0700 | |
| commit | 98b26b6e126d4775fdf3f773fe8a8ac808a8ff8f (patch) | |
| tree | 816faa96c2c4d291825063433331a8ea4b3d08f1 /src/video_core/dirty_flags.cpp | |
| parent | Merge pull request #6699 from lat9nq/common-threads (diff) | |
| parent | shader: Support out of bound local memory reads and immediate writes (diff) | |
| download | yuzu-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.cpp | 6 |
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 | |||
| 62 | void 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 | ||
| 63 | void SetupDirtyFlags(Maxwell3D::DirtyState::Tables& tables) { | 68 | void 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 |