From 1a7eb95c42aa46a327f853716947c0717afa248d Mon Sep 17 00:00:00 2001 From: Lander Gallastegi Date: Tue, 24 Jun 2025 23:03:19 +0200 Subject: [PATCH] clang-format --- src/video_core/buffer_cache/region_manager.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/video_core/buffer_cache/region_manager.h b/src/video_core/buffer_cache/region_manager.h index 19d0d700e..e8ec21129 100644 --- a/src/video_core/buffer_cache/region_manager.h +++ b/src/video_core/buffer_cache/region_manager.h @@ -84,7 +84,8 @@ public: RENDERER_TRACE; const size_t offset = dirty_addr - cpu_addr; const size_t start_page = SanitizeAddress(offset) / TRACKER_BYTES_PER_PAGE; - const size_t end_page = Common::DivCeil(SanitizeAddress(offset + size), TRACKER_BYTES_PER_PAGE); + const size_t end_page = + Common::DivCeil(SanitizeAddress(offset + size), TRACKER_BYTES_PER_PAGE); if (start_page >= NUM_PAGES_PER_REGION || end_page <= start_page) { return; } @@ -115,7 +116,8 @@ public: RENDERER_TRACE; const size_t offset = query_cpu_range - cpu_addr; const size_t start_page = SanitizeAddress(offset) / TRACKER_BYTES_PER_PAGE; - const size_t end_page = Common::DivCeil(SanitizeAddress(offset + size), TRACKER_BYTES_PER_PAGE); + const size_t end_page = + Common::DivCeil(SanitizeAddress(offset + size), TRACKER_BYTES_PER_PAGE); if (start_page >= NUM_PAGES_PER_REGION || end_page <= start_page) { return; } @@ -152,7 +154,8 @@ public: [[nodiscard]] bool IsRegionModified(u64 offset, u64 size) const noexcept { RENDERER_TRACE; const size_t start_page = SanitizeAddress(offset) / TRACKER_BYTES_PER_PAGE; - const size_t end_page = Common::DivCeil(SanitizeAddress(offset + size), TRACKER_BYTES_PER_PAGE); + const size_t end_page = + Common::DivCeil(SanitizeAddress(offset + size), TRACKER_BYTES_PER_PAGE); if (start_page >= NUM_PAGES_PER_REGION || end_page <= start_page) { return false; }