diff options
| author | 2020-03-17 17:29:22 -0400 | |
|---|---|---|
| committer | 2020-03-17 17:29:22 -0400 | |
| commit | edb9cccb36dd23eaeae668315172ef0627cbedd8 (patch) | |
| tree | 29323c2292475870325ebfe4ccdb049d1248f076 /src/video_core/dirty_flags.cpp | |
| parent | Merge pull request #3509 from ReinUsesLisp/astc-opts (diff) | |
| parent | DirtyFlags: relax need to set render_targets as dirty (diff) | |
| download | yuzu-edb9cccb36dd23eaeae668315172ef0627cbedd8.tar.gz yuzu-edb9cccb36dd23eaeae668315172ef0627cbedd8.tar.xz yuzu-edb9cccb36dd23eaeae668315172ef0627cbedd8.zip | |
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.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 { | |||
| 15 | 15 | ||
| 16 | using Tegra::Engines::Maxwell3D; | 16 | using Tegra::Engines::Maxwell3D; |
| 17 | 17 | ||
| 18 | void SetupCommonOnWriteStores(Tegra::Engines::Maxwell3D::DirtyState::Flags& store) { | ||
| 19 | store[RenderTargets] = true; | ||
| 20 | store[ZetaBuffer] = true; | ||
| 21 | for (std::size_t i = 0; i < Maxwell3D::Regs::NumRenderTargets; ++i) { | ||
| 22 | store[ColorBuffer0 + i] = true; | ||
| 23 | } | ||
| 24 | } | ||
| 25 | |||
| 26 | void SetupDirtyRenderTargets(Tegra::Engines::Maxwell3D::DirtyState::Tables& tables) { | 18 | void SetupDirtyRenderTargets(Tegra::Engines::Maxwell3D::DirtyState::Tables& tables) { |
| 27 | static constexpr std::size_t num_per_rt = NUM(rt[0]); | 19 | static constexpr std::size_t num_per_rt = NUM(rt[0]); |
| 28 | static constexpr std::size_t begin = OFF(rt); | 20 | static constexpr std::size_t begin = OFF(rt); |