summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache/image_view_info.cpp
diff options
context:
space:
mode:
authoryzct12345 <87620833+yzct12345@users.noreply.github.com>2021-08-08 13:02:51 +0200
committerGitHub <noreply@github.com>2021-08-08 13:02:51 +0200
commitc4eafcc86142e1de764748659d74a27c97930dc8 (patch)
treea9e6f842d3d90cb679bd49a993d8010e0f3168b6 /src/video_core/texture_cache/image_view_info.cpp
parenttexture_cache: Address ameerj's review (diff)
downloadyuzu-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.cpp2
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) {