aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/dirty_flags.cpp
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2020-03-17 17:29:22 -0400
committerGitHub <noreply@github.com>2020-03-17 17:29:22 -0400
commitedb9cccb36dd23eaeae668315172ef0627cbedd8 (patch)
tree29323c2292475870325ebfe4ccdb049d1248f076 /src/video_core/dirty_flags.cpp
parentf54d2d31140b59ad929840871ea14f9746ae040b (diff)
parent380fc8d2e1db40c09ac4f1ec3fd3cd69bc592dfa (diff)
Merge pull request #3510 from FernandoS27/dirty-write
DirtyFlags: relax need to set render_targets as dirty
Diffstat (limited to 'src/video_core/dirty_flags.cpp')
-rw-r--r--src/video_core/dirty_flags.cpp8
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);