diff options
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 |