video_core: Amend constructor initializer list order where applicable

Specifies the members in the same order that initialization would take
place in.

This also silences -Wreorder warnings.
This commit is contained in:
Lioncash
2019-03-27 12:35:31 -04:00
parent 47f2405ab1
commit a5fa4b311e
6 changed files with 14 additions and 14 deletions

View File

@ -19,8 +19,8 @@ namespace Vulkan {
CachedBufferEntry::CachedBufferEntry(VAddr cpu_addr, std::size_t size, u64 offset,
std::size_t alignment, u8* host_ptr)
: cpu_addr{cpu_addr}, size{size}, offset{offset}, alignment{alignment}, RasterizerCacheObject{
host_ptr} {}
: RasterizerCacheObject{host_ptr}, cpu_addr{cpu_addr}, size{size}, offset{offset},
alignment{alignment} {}
VKBufferCache::VKBufferCache(Tegra::MemoryManager& tegra_memory_manager,
VideoCore::RasterizerInterface& rasterizer, const VKDevice& device,