diff options
| author | 2023-10-02 18:05:55 -0400 | |
|---|---|---|
| committer | 2023-10-02 18:05:55 -0400 | |
| 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.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')
| -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: | |||
| 161 | u32 method_count; ///< Current method count | 161 | u32 method_count; ///< Current method count |
| 162 | u32 length_pending; ///< Large NI command length pending | 162 | u32 length_pending; ///< Large NI command length pending |
| 163 | GPUVAddr dma_get; ///< Currently read segment | 163 | GPUVAddr dma_get; ///< Currently read segment |
| 164 | u64 dma_word_offset; ///< Current word ofset from address | 164 | u64 dma_word_offset; ///< Current word offset from address |
| 165 | bool non_incrementing; ///< Current command's NI flag | 165 | bool non_incrementing; ///< Current command's NI flag |
| 166 | bool is_last_call; | 166 | bool is_last_call; |
| 167 | }; | 167 | }; |
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 | }; |
| 46 | DECLARE_ENUM_FLAG_OPERATORS(ImageFlagBits) | 46 | DECLARE_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 | } |
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: | |||
| 314 | return GetDriverID() != VK_DRIVER_ID_QUALCOMM_PROPRIETARY; | 314 | return GetDriverID() != VK_DRIVER_ID_QUALCOMM_PROPRIETARY; |
| 315 | } | 315 | } |
| 316 | 316 | ||
| 317 | /// Returns true if the device suppors float64 natively. | 317 | /// Returns true if the device supports float64 natively. |
| 318 | bool IsFloat64Supported() const { | 318 | bool IsFloat64Supported() const { |
| 319 | return features.features.shaderFloat64; | 319 | return features.features.shaderFloat64; |
| 320 | } | 320 | } |