summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-19 01:56:20 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-19 01:56:20 +0200
commit4ecedc499145b22bf83f2e37d52759bc76c34693 (patch)
treeefebce8ab8a0ae580df07df1619a6955b27874f3 /src/video_core/renderer_vulkan
parentgeneral: Silence -Wshadow{,-uncaptured-local} warnings (diff)
downloadyuzu-4ecedc499145b22bf83f2e37d52759bc76c34693.tar
yuzu-4ecedc499145b22bf83f2e37d52759bc76c34693.tar.gz
yuzu-4ecedc499145b22bf83f2e37d52759bc76c34693.tar.bz2
yuzu-4ecedc499145b22bf83f2e37d52759bc76c34693.tar.lz
yuzu-4ecedc499145b22bf83f2e37d52759bc76c34693.tar.xz
yuzu-4ecedc499145b22bf83f2e37d52759bc76c34693.tar.zst
yuzu-4ecedc499145b22bf83f2e37d52759bc76c34693.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_buffer_cache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_buffer_cache.cpp b/src/video_core/renderer_vulkan/vk_buffer_cache.cpp
index 818b6d3e3..f8cd2a5d8 100644
--- a/src/video_core/renderer_vulkan/vk_buffer_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_buffer_cache.cpp
@@ -80,8 +80,8 @@ Buffer::Buffer(BufferCacheRuntime&, VideoCommon::NullBufferParams null_params)
Buffer::Buffer(BufferCacheRuntime& runtime, VideoCore::RasterizerInterface& rasterizer_,
VAddr cpu_addr_, u64 size_bytes_)
: VideoCommon::BufferBase<VideoCore::RasterizerInterface>(rasterizer_, cpu_addr_, size_bytes_),
- device{&runtime.device},
- buffer{CreateBuffer(*device, runtime.memory_allocator, SizeBytes())} {
+ device{&runtime.device}, buffer{
+ CreateBuffer(*device, runtime.memory_allocator, SizeBytes())} {
if (runtime.device.HasDebuggingToolAttached()) {
buffer.SetObjectNameEXT(fmt::format("Buffer 0x{:x}", CpuAddr()).c_str());
}