diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-10-03 00:05:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-03 00:05:55 +0200 |
commit | 7a0da729b45ae2794e84af6808c50cb714d17fc5 (patch) | |
tree | 3c0a84a306b6b85f9bcd22a6b8b29cb306b9a852 /src/video_core | |
parent | Merge pull request #11652 from liamwhite/shutdown-goes-brrr (diff) | |
parent | ci: fix new codespell errors (diff) | |
download | yuzu-7a0da729b45ae2794e84af6808c50cb714d17fc5.tar yuzu-7a0da729b45ae2794e84af6808c50cb714d17fc5.tar.gz yuzu-7a0da729b45ae2794e84af6808c50cb714d17fc5.tar.bz2 yuzu-7a0da729b45ae2794e84af6808c50cb714d17fc5.tar.lz yuzu-7a0da729b45ae2794e84af6808c50cb714d17fc5.tar.xz yuzu-7a0da729b45ae2794e84af6808c50cb714d17fc5.tar.zst yuzu-7a0da729b45ae2794e84af6808c50cb714d17fc5.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/dma_pusher.h | 2 | ||||
-rw-r--r-- | src/video_core/texture_cache/image_base.h | 2 | ||||
-rw-r--r-- | src/video_core/texture_cache/util.cpp | 2 | ||||
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/dma_pusher.h b/src/video_core/dma_pusher.h index c9fab2d90..e46a8fa5c 100644 --- a/src/video_core/dma_pusher.h +++ b/src/video_core/dma_pusher.h @@ -161,7 +161,7 @@ private: u32 method_count; ///< Current method count u32 length_pending; ///< Large NI command length pending GPUVAddr dma_get; ///< Currently read segment - u64 dma_word_offset; ///< Current word ofset from address + u64 dma_word_offset; ///< Current word offset from address bool non_incrementing; ///< Current command's NI flag bool is_last_call; }; 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 { IsRescalable = 1 << 15, AsynchronousDecode = 1 << 16, - IsDecoding = 1 << 17, ///< Is currently being decoded asynchornously. + IsDecoding = 1 << 17, ///< Is currently being decoded asynchronously. }; DECLARE_ENUM_FLAG_OPERATORS(ImageFlagBits) 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 return std::nullopt; } } else { - // Format comaptibility is not relaxed, ensure we are creating a view on a compatible format + // Format compatibility is not relaxed, ensure we are creating a view on a compatible format if (!IsViewCompatible(existing.format, candidate.format, broken_views, native_bgr)) { return std::nullopt; } diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h index 9be612392..282a2925d 100644 --- a/src/video_core/vulkan_common/vulkan_device.h +++ b/src/video_core/vulkan_common/vulkan_device.h @@ -314,7 +314,7 @@ public: return GetDriverID() != VK_DRIVER_ID_QUALCOMM_PROPRIETARY; } - /// Returns true if the device suppors float64 natively. + /// Returns true if the device supports float64 natively. bool IsFloat64Supported() const { return features.features.shaderFloat64; } |