diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-01-29 19:52:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-29 19:52:38 -0500 |
commit | 5f4647df7da58aa22be21dd26cfa6de7c5f106c9 (patch) | |
tree | 4bbcaee76bde35ddc6eff9a1c639866cf278b353 /src/video_core | |
parent | 3aab57452153c3dfa8591809bc09797da03b44dc (diff) | |
parent | d5fc56db4bdebcf4f45e39e9c9d0f40229de8cea (diff) |
Merge pull request #9705 from behunin/patch-1
Move to Clang Format 15
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/texture_cache/descriptor_table.h | 4 | ||||
-rw-r--r-- | src/video_core/texture_cache/slot_vector.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/video_core/texture_cache/descriptor_table.h b/src/video_core/texture_cache/descriptor_table.h index ee4240288..1bad83fb4 100644 --- a/src/video_core/texture_cache/descriptor_table.h +++ b/src/video_core/texture_cache/descriptor_table.h @@ -19,9 +19,7 @@ public: explicit DescriptorTable(Tegra::MemoryManager& gpu_memory_) : gpu_memory{gpu_memory_} {} [[nodiscard]] bool Synchronize(GPUVAddr gpu_addr, u32 limit) { - [[likely]] if (current_gpu_addr == gpu_addr && current_limit == limit) { - return false; - } + [[likely]] if (current_gpu_addr == gpu_addr && current_limit == limit) { return false; } Refresh(gpu_addr, limit); return true; } diff --git a/src/video_core/texture_cache/slot_vector.h b/src/video_core/texture_cache/slot_vector.h index 1e2aad76a..9df6a2903 100644 --- a/src/video_core/texture_cache/slot_vector.h +++ b/src/video_core/texture_cache/slot_vector.h @@ -29,7 +29,7 @@ struct SlotId { }; template <class T> -requires std::is_nothrow_move_assignable_v<T> && std::is_nothrow_move_constructible_v<T> + requires std::is_nothrow_move_assignable_v<T> && std::is_nothrow_move_constructible_v<T> class SlotVector { public: class Iterator { |