diff options
author | Liam <byteslice@airmail.cc> | 2023-10-03 00:03:05 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-10-03 00:03:05 +0200 |
commit | 0448eb6f0f60a1ac66565aacd378cf61f820487a (patch) | |
tree | 3c0a84a306b6b85f9bcd22a6b8b29cb306b9a852 /src/video_core | |
parent | Merge pull request #11652 from liamwhite/shutdown-goes-brrr (diff) | |
download | yuzu-0448eb6f0f60a1ac66565aacd378cf61f820487a.tar yuzu-0448eb6f0f60a1ac66565aacd378cf61f820487a.tar.gz yuzu-0448eb6f0f60a1ac66565aacd378cf61f820487a.tar.bz2 yuzu-0448eb6f0f60a1ac66565aacd378cf61f820487a.tar.lz yuzu-0448eb6f0f60a1ac66565aacd378cf61f820487a.tar.xz yuzu-0448eb6f0f60a1ac66565aacd378cf61f820487a.tar.zst yuzu-0448eb6f0f60a1ac66565aacd378cf61f820487a.zip |
Diffstat (limited to '')
-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; } |