diff options
author | yzct12345 <87620833+yzct12345@users.noreply.github.com> | 2021-08-08 13:02:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-08 13:02:51 +0200 |
commit | c4eafcc86142e1de764748659d74a27c97930dc8 (patch) | |
tree | a9e6f842d3d90cb679bd49a993d8010e0f3168b6 /src/video_core/texture_cache/image_view_info.cpp | |
parent | texture_cache: Address ameerj's review (diff) | |
download | yuzu-c4eafcc86142e1de764748659d74a27c97930dc8.tar yuzu-c4eafcc86142e1de764748659d74a27c97930dc8.tar.gz yuzu-c4eafcc86142e1de764748659d74a27c97930dc8.tar.bz2 yuzu-c4eafcc86142e1de764748659d74a27c97930dc8.tar.lz yuzu-c4eafcc86142e1de764748659d74a27c97930dc8.tar.xz yuzu-c4eafcc86142e1de764748659d74a27c97930dc8.tar.zst yuzu-c4eafcc86142e1de764748659d74a27c97930dc8.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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/image_view_info.cpp b/src/video_core/texture_cache/image_view_info.cpp index f14a92565..6527e14c8 100644 --- a/src/video_core/texture_cache/image_view_info.cpp +++ b/src/video_core/texture_cache/image_view_info.cpp @@ -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) { |