aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/dirty_flags.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-03-14 11:47:33 -0400
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-03-14 11:47:33 -0400
commit51ceb14a65da2fd19519a66a3372e645ade7734d (patch)
tree4fb064d686386b6bdee58e7f0f5cac2765ac9056 /src/video_core/dirty_flags.cpp
parent4ee2a50537b6dd3677a5f2a0bfc98ca80ab2d91b (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.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 4429f34059..e160759933 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);