Update src/video_core/renderer_vulkan/vk_buffer_cache.cpp
Some checks failed
eden-license / license-header (pull_request) Failing after 25s

This commit is contained in:
wildcard 2025-10-08 19:03:02 +02:00 committed by crueter
parent 1ff57fdf6b
commit 217e55a479

View file

@ -338,7 +338,7 @@ BufferCacheRuntime::BufferCacheRuntime(const Device& device_, MemoryAllocator& m
compute_pass_descriptor_queue);
}
const u32 ubo_align = static_cast<u32>(
device.GetUniformBufferAlignment() /* if you have it */
device.GetUniformBufferAlignment() //check if the device has it
);
// add the ability to change the size in settings in future
uniform_ring.Init(device, memory_allocator, 8 * 1024 * 1024 /* 8 MiB */, ubo_align ? ubo_align : 256);