diff options
author | Fernando S <fsahmkow27@gmail.com> | 2021-08-10 12:23:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-10 12:23:05 +0200 |
commit | 6a082df427df37ffa6d3e7601549327a0e9b24d1 (patch) | |
tree | 4b51ec28b4abb2a2666a2994b8ca35229b6bc241 /src/video_core/texture_cache/image_view_info.cpp | |
parent | Merge pull request #6837 from german77/no-pause-screenshot (diff) | |
parent | texture_cache: Address ameerj's review (diff) | |
download | yuzu-6a082df427df37ffa6d3e7601549327a0e9b24d1.tar yuzu-6a082df427df37ffa6d3e7601549327a0e9b24d1.tar.gz yuzu-6a082df427df37ffa6d3e7601549327a0e9b24d1.tar.bz2 yuzu-6a082df427df37ffa6d3e7601549327a0e9b24d1.tar.lz yuzu-6a082df427df37ffa6d3e7601549327a0e9b24d1.tar.xz yuzu-6a082df427df37ffa6d3e7601549327a0e9b24d1.tar.zst yuzu-6a082df427df37ffa6d3e7601549327a0e9b24d1.zip |
Diffstat (limited to 'src/video_core/texture_cache/image_view_info.cpp')
-rw-r--r-- | src/video_core/texture_cache/image_view_info.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/image_view_info.cpp b/src/video_core/texture_cache/image_view_info.cpp index faf5b151f..6527e14c8 100644 --- a/src/video_core/texture_cache/image_view_info.cpp +++ b/src/video_core/texture_cache/image_view_info.cpp @@ -6,7 +6,7 @@ #include "common/assert.h" #include "video_core/texture_cache/image_view_info.h" -#include "video_core/texture_cache/texture_cache.h" +#include "video_core/texture_cache/texture_cache_base.h" #include "video_core/texture_cache/types.h" #include "video_core/textures/texture.h" @@ -14,6 +14,8 @@ namespace VideoCommon { namespace { +using Tegra::Texture::TextureType; + constexpr u8 RENDER_TARGET_SWIZZLE = std::numeric_limits<u8>::max(); [[nodiscard]] u8 CastSwizzle(SwizzleSource source) { |