diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-06-28 23:32:24 +0200 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-06-29 01:13:53 +0200 |
commit | 7a8de138df35aecf760402a6b8097b4d6e0e8178 (patch) | |
tree | b426f0e41c32ec5fa62974dd6dd8444548040749 /src/video_core/renderer_vulkan | |
parent | general: Make most settings a BasicSetting (diff) | |
download | yuzu-7a8de138df35aecf760402a6b8097b4d6e0e8178.tar yuzu-7a8de138df35aecf760402a6b8097b4d6e0e8178.tar.gz yuzu-7a8de138df35aecf760402a6b8097b4d6e0e8178.tar.bz2 yuzu-7a8de138df35aecf760402a6b8097b4d6e0e8178.tar.lz yuzu-7a8de138df35aecf760402a6b8097b4d6e0e8178.tar.xz yuzu-7a8de138df35aecf760402a6b8097b4d6e0e8178.tar.zst yuzu-7a8de138df35aecf760402a6b8097b4d6e0e8178.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r-- | src/video_core/renderer_vulkan/renderer_vulkan.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/video_core/renderer_vulkan/renderer_vulkan.cpp b/src/video_core/renderer_vulkan/renderer_vulkan.cpp index 2bab2b4f5..bec3a81d9 100644 --- a/src/video_core/renderer_vulkan/renderer_vulkan.cpp +++ b/src/video_core/renderer_vulkan/renderer_vulkan.cpp @@ -97,14 +97,19 @@ RendererVulkan::RendererVulkan(Core::TelemetrySession& telemetry_session_, Core::Frontend::EmuWindow& emu_window, Core::Memory::Memory& cpu_memory_, Tegra::GPU& gpu_, std::unique_ptr<Core::Frontend::GraphicsContext> context_) try - : RendererBase(emu_window, std::move(context_)), telemetry_session(telemetry_session_), - cpu_memory(cpu_memory_), gpu(gpu_), library(OpenLibrary()), + : RendererBase(emu_window, std::move(context_)), + telemetry_session(telemetry_session_), + cpu_memory(cpu_memory_), + gpu(gpu_), + library(OpenLibrary()), instance(CreateInstance(library, dld, VK_API_VERSION_1_1, render_window.GetWindowInfo().type, true, Settings::values.renderer_debug.GetValue())), debug_callback(Settings::values.renderer_debug ? CreateDebugCallback(instance) : nullptr), surface(CreateSurface(instance, render_window)), - device(CreateDevice(instance, dld, *surface)), memory_allocator(device, false), - state_tracker(gpu), scheduler(device, state_tracker), + device(CreateDevice(instance, dld, *surface)), + memory_allocator(device, false), + state_tracker(gpu), + scheduler(device, state_tracker), swapchain(*surface, device, scheduler, render_window.GetFramebufferLayout().width, render_window.GetFramebufferLayout().height, false), blit_screen(cpu_memory, render_window, device, memory_allocator, swapchain, scheduler, |