summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader
diff options
context:
space:
mode:
authorLC <mathew1800@gmail.com>2021-01-24 23:36:43 +0100
committerGitHub <noreply@github.com>2021-01-24 23:36:43 +0100
commitdf0d8c45d28832d08746e7c1a98782f05cdfcf7b (patch)
tree0c0ce16e34704b6f3318c7f62c931a144dad83a5 /src/video_core/shader
parentMerge pull request #5363 from ReinUsesLisp/vk-image-usage (diff)
parentcmake: Enforce -Warray-bounds and -Wmissing-field-initializers globally (diff)
downloadyuzu-df0d8c45d28832d08746e7c1a98782f05cdfcf7b.tar
yuzu-df0d8c45d28832d08746e7c1a98782f05cdfcf7b.tar.gz
yuzu-df0d8c45d28832d08746e7c1a98782f05cdfcf7b.tar.bz2
yuzu-df0d8c45d28832d08746e7c1a98782f05cdfcf7b.tar.lz
yuzu-df0d8c45d28832d08746e7c1a98782f05cdfcf7b.tar.xz
yuzu-df0d8c45d28832d08746e7c1a98782f05cdfcf7b.tar.zst
yuzu-df0d8c45d28832d08746e7c1a98782f05cdfcf7b.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/shader/async_shaders.cpp18
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,