Update src/video_core/renderer_vulkan/vk_buffer_cache.cpp
Some checks failed
eden-license / license-header (pull_request) Failing after 28s
Some checks failed
eden-license / license-header (pull_request) Failing after 28s
This commit is contained in:
parent
9553aa30da
commit
4f9f90d9b4
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ BufferCacheRuntime::BufferCacheRuntime(const Device& device_, MemoryAllocator& m
|
||||||
compute_pass_descriptor_queue);
|
compute_pass_descriptor_queue);
|
||||||
}
|
}
|
||||||
const u32 ubo_align = static_cast<u32>(
|
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
|
// 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);
|
uniform_ring.Init(device, memory_allocator, 8 * 1024 * 1024 /* 8 MiB */, ubo_align ? ubo_align : 256);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue