diff options
author | Levi Behunin <l3ehunin@gmail.com> | 2023-01-29 21:54:13 +0100 |
---|---|---|
committer | Behunin <l3ehunin@gmail.com> | 2023-01-30 01:49:42 +0100 |
commit | d5fc56db4bdebcf4f45e39e9c9d0f40229de8cea (patch) | |
tree | 4bbcaee76bde35ddc6eff9a1c639866cf278b353 /src/video_core | |
parent | Merge pull request #9699 from ameerj/texture-pass-desc (diff) | |
download | yuzu-d5fc56db4bdebcf4f45e39e9c9d0f40229de8cea.tar yuzu-d5fc56db4bdebcf4f45e39e9c9d0f40229de8cea.tar.gz yuzu-d5fc56db4bdebcf4f45e39e9c9d0f40229de8cea.tar.bz2 yuzu-d5fc56db4bdebcf4f45e39e9c9d0f40229de8cea.tar.lz yuzu-d5fc56db4bdebcf4f45e39e9c9d0f40229de8cea.tar.xz yuzu-d5fc56db4bdebcf4f45e39e9c9d0f40229de8cea.tar.zst yuzu-d5fc56db4bdebcf4f45e39e9c9d0f40229de8cea.zip |
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 { |