diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-24 08:32:19 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-24 08:32:19 +0100 |
commit | 1b76e7e890b92dcb549e2cfc3d7ee895fcd33598 (patch) | |
tree | 3bd6488c67ef1ae99c89d4bb695f8bea3634c8da /src/video_core/shader/async_shaders.cpp | |
parent | maxwell_3d: Silence array bounds warnings (diff) | |
download | yuzu-1b76e7e890b92dcb549e2cfc3d7ee895fcd33598.tar yuzu-1b76e7e890b92dcb549e2cfc3d7ee895fcd33598.tar.gz yuzu-1b76e7e890b92dcb549e2cfc3d7ee895fcd33598.tar.bz2 yuzu-1b76e7e890b92dcb549e2cfc3d7ee895fcd33598.tar.lz yuzu-1b76e7e890b92dcb549e2cfc3d7ee895fcd33598.tar.xz yuzu-1b76e7e890b92dcb549e2cfc3d7ee895fcd33598.tar.zst yuzu-1b76e7e890b92dcb549e2cfc3d7ee895fcd33598.zip |
Diffstat (limited to 'src/video_core/shader/async_shaders.cpp')
-rw-r--r-- | src/video_core/shader/async_shaders.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/video_core/shader/async_shaders.cpp b/src/video_core/shader/async_shaders.cpp index 9707136e9..3b40db9bc 100644 --- a/src/video_core/shader/async_shaders.cpp +++ b/src/video_core/shader/async_shaders.cpp @@ -129,6 +129,15 @@ void AsyncShaders::QueueOpenGLShader(const OpenGL::Device& device, .compiler_settings = compiler_settings, .registry = registry, .cpu_address = cpu_addr, + .pp_cache = nullptr, + .vk_device = nullptr, + .scheduler = nullptr, + .descriptor_pool = nullptr, + .update_descriptor_queue = nullptr, + .bindings{}, + .program{}, + .key{}, + .num_color_buffers = 0, }); cv.notify_one(); } @@ -143,6 +152,15 @@ void AsyncShaders::QueueVulkanShader(Vulkan::VKPipelineCache* pp_cache, std::unique_lock lock(queue_mutex); pending_queue.push({ .backend = Backend::Vulkan, + .device = nullptr, + .shader_type{}, + .uid = 0, + .code{}, + .code_b{}, + .main_offset = 0, + .compiler_settings{}, + .registry{}, + .cpu_address = 0, .pp_cache = pp_cache, .vk_device = &device, .scheduler = &scheduler, |