diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-03-14 11:47:33 -0400 |
|---|---|---|
| committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-03-14 11:47:33 -0400 |
| commit | 380fc8d2e1db40c09ac4f1ec3fd3cd69bc592dfa (patch) | |
| tree | 4fb064d686386b6bdee58e7f0f5cac2765ac9056 /src/video_core/dirty_flags.cpp | |
| parent | b30b1f741dcbcb69672d065b0bec4f4a9e5f0993 (diff) | |
DirtyFlags: relax need to set render_targets as dirty
The texture cache already takes care of setting a render target to dirty
when invalidated.
Diffstat (limited to 'src/video_core/dirty_flags.cpp')
| -rw-r--r-- | src/video_core/dirty_flags.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/video_core/dirty_flags.cpp b/src/video_core/dirty_flags.cpp index 4429f3405..e16075993 100644 --- a/src/video_core/dirty_flags.cpp +++ b/src/video_core/dirty_flags.cpp @@ -15,14 +15,6 @@ namespace VideoCommon::Dirty { using Tegra::Engines::Maxwell3D; -void SetupCommonOnWriteStores(Tegra::Engines::Maxwell3D::DirtyState::Flags& store) { - store[RenderTargets] = true; - store[ZetaBuffer] = true; - for (std::size_t i = 0; i < Maxwell3D::Regs::NumRenderTargets; ++i) { - store[ColorBuffer0 + i] = true; - } -} - void SetupDirtyRenderTargets(Tegra::Engines::Maxwell3D::DirtyState::Tables& tables) { static constexpr std::size_t num_per_rt = NUM(rt[0]); static constexpr std::size_t begin = OFF(rt); |
