summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-11-20 20:00:40 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-11-20 20:00:40 +0100
commit73aaf365e75ea3b451aba535801e49ca2f6d03bc (patch)
tree3885dd59d5d91d0c3f12c2e1ff9df3ed2154ba34 /src
parentMerge pull request #3142 from ReinUsesLisp/depbar-log (diff)
downloadyuzu-73aaf365e75ea3b451aba535801e49ca2f6d03bc.tar
yuzu-73aaf365e75ea3b451aba535801e49ca2f6d03bc.tar.gz
yuzu-73aaf365e75ea3b451aba535801e49ca2f6d03bc.tar.bz2
yuzu-73aaf365e75ea3b451aba535801e49ca2f6d03bc.tar.lz
yuzu-73aaf365e75ea3b451aba535801e49ca2f6d03bc.tar.xz
yuzu-73aaf365e75ea3b451aba535801e49ca2f6d03bc.tar.zst
yuzu-73aaf365e75ea3b451aba535801e49ca2f6d03bc.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/buffer_cache/buffer_cache.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/video_core/buffer_cache/buffer_cache.h b/src/video_core/buffer_cache/buffer_cache.h
index 4408b5001..0510ed777 100644
--- a/src/video_core/buffer_cache/buffer_cache.h
+++ b/src/video_core/buffer_cache/buffer_cache.h
@@ -427,8 +427,8 @@ private:
VideoCore::RasterizerInterface& rasterizer;
Core::System& system;
- std::unique_ptr<StreamBuffer> stream_buffer;
+ std::unique_ptr<StreamBuffer> stream_buffer;
TBufferType stream_buffer_handle{};
bool invalidated = false;
@@ -440,18 +440,18 @@ private:
using IntervalSet = boost::icl::interval_set<CacheAddr>;
using IntervalCache = boost::icl::interval_map<CacheAddr, MapInterval>;
using IntervalType = typename IntervalCache::interval_type;
- IntervalCache mapped_addresses{};
+ IntervalCache mapped_addresses;
- static constexpr u64 write_page_bit{11};
- std::unordered_map<u64, u32> written_pages{};
+ static constexpr u64 write_page_bit = 11;
+ std::unordered_map<u64, u32> written_pages;
- static constexpr u64 block_page_bits{21};
- static constexpr u64 block_page_size{1 << block_page_bits};
- std::unordered_map<u64, TBuffer> blocks{};
+ static constexpr u64 block_page_bits = 21;
+ static constexpr u64 block_page_size = 1ULL << block_page_bits;
+ std::unordered_map<u64, TBuffer> blocks;
- std::list<TBuffer> pending_destruction{};
- u64 epoch{};
- u64 modified_ticks{};
+ std::list<TBuffer> pending_destruction;
+ u64 epoch = 0;
+ u64 modified_ticks = 0;
std::recursive_mutex mutex;
};