aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorlat9nq <[email protected]>2023-07-18 19:56:20 -0400
committerlat9nq <[email protected]>2023-07-18 19:56:20 -0400
commit4ecedc499145b22bf83f2e37d52759bc76c34693 (patch)
treeefebce8ab8a0ae580df07df1619a6955b27874f3
parent71b3b2a2f0f0ec5d0a0061d3d7ea42a1f63ae1de (diff)
downloadyuzu-mainline-4ecedc499145b22bf83f2e37d52759bc76c34693.tar.gz
yuzu-mainline-4ecedc499145b22bf83f2e37d52759bc76c34693.zip
vk_buffer_cache: Format
-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());
}