diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-04-11 07:50:30 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:27 +0200 |
commit | 479ca00071ccaab6ca9ac28daf375e1ed15dc447 (patch) | |
tree | 2054d994b73a6b1862099a95b069914a347e5e46 /src/video_core/renderer_vulkan/vk_compute_pass.cpp | |
parent | spirv: Move phi node patching to a separate function (diff) | |
download | yuzu-479ca00071ccaab6ca9ac28daf375e1ed15dc447.tar yuzu-479ca00071ccaab6ca9ac28daf375e1ed15dc447.tar.gz yuzu-479ca00071ccaab6ca9ac28daf375e1ed15dc447.tar.bz2 yuzu-479ca00071ccaab6ca9ac28daf375e1ed15dc447.tar.lz yuzu-479ca00071ccaab6ca9ac28daf375e1ed15dc447.tar.xz yuzu-479ca00071ccaab6ca9ac28daf375e1ed15dc447.tar.zst yuzu-479ca00071ccaab6ca9ac28daf375e1ed15dc447.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_compute_pass.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_compute_pass.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_compute_pass.cpp b/src/video_core/renderer_vulkan/vk_compute_pass.cpp index 2cfe9d4bd..ec9866605 100644 --- a/src/video_core/renderer_vulkan/vk_compute_pass.cpp +++ b/src/video_core/renderer_vulkan/vk_compute_pass.cpp @@ -206,6 +206,7 @@ VKComputePass::VKComputePass(const Device& device, VKDescriptorPool& descriptor_ .codeSize = static_cast<u32>(code.size_bytes()), .pCode = code.data(), }); + device.SaveShader(code); pipeline = device.GetLogical().CreateComputePipeline({ .sType = VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO, .pNext = nullptr, |