summaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache
diff options
context:
space:
mode:
authorGravatar liamwhite2023-10-02 18:05:55 -0400
committerGravatar GitHub2023-10-02 18:05:55 -0400
commit7a0da729b45ae2794e84af6808c50cb714d17fc5 (patch)
tree3c0a84a306b6b85f9bcd22a6b8b29cb306b9a852 /src/video_core/texture_cache
parentMerge pull request #11652 from liamwhite/shutdown-goes-brrr (diff)
parentci: fix new codespell errors (diff)
downloadyuzu-7a0da729b45ae2794e84af6808c50cb714d17fc5.tar.gz
yuzu-7a0da729b45ae2794e84af6808c50cb714d17fc5.tar.xz
yuzu-7a0da729b45ae2794e84af6808c50cb714d17fc5.zip
Merge pull request #11657 from liamwhite/new-codespell
ci: fix new codespell errors
Diffstat (limited to 'src/video_core/texture_cache')
-rw-r--r--src/video_core/texture_cache/image_base.h2
-rw-r--r--src/video_core/texture_cache/util.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/texture_cache/image_base.h b/src/video_core/texture_cache/image_base.h
index 55d49d017..0587d7b72 100644
--- a/src/video_core/texture_cache/image_base.h
+++ b/src/video_core/texture_cache/image_base.h
@@ -41,7 +41,7 @@ enum class ImageFlagBits : u32 {
41 IsRescalable = 1 << 15, 41 IsRescalable = 1 << 15,
42 42
43 AsynchronousDecode = 1 << 16, 43 AsynchronousDecode = 1 << 16,
44 IsDecoding = 1 << 17, ///< Is currently being decoded asynchornously. 44 IsDecoding = 1 << 17, ///< Is currently being decoded asynchronously.
45}; 45};
46DECLARE_ENUM_FLAG_OPERATORS(ImageFlagBits) 46DECLARE_ENUM_FLAG_OPERATORS(ImageFlagBits)
47 47
diff --git a/src/video_core/texture_cache/util.cpp b/src/video_core/texture_cache/util.cpp
index a83f5d41c..0a86ce139 100644
--- a/src/video_core/texture_cache/util.cpp
+++ b/src/video_core/texture_cache/util.cpp
@@ -1195,7 +1195,7 @@ std::optional<SubresourceBase> FindSubresource(const ImageInfo& candidate, const
1195 return std::nullopt; 1195 return std::nullopt;
1196 } 1196 }
1197 } else { 1197 } else {
1198 // Format comaptibility is not relaxed, ensure we are creating a view on a compatible format 1198 // Format compatibility is not relaxed, ensure we are creating a view on a compatible format
1199 if (!IsViewCompatible(existing.format, candidate.format, broken_views, native_bgr)) { 1199 if (!IsViewCompatible(existing.format, candidate.format, broken_views, native_bgr)) {
1200 return std::nullopt; 1200 return std::nullopt;
1201 } 1201 }