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/renderer_vulkan | |
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/renderer_vulkan')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp | 1 | ||||
-rw-r--r-- | src/video_core/renderer_vulkan/vk_texture_cache.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp index a5214d0bc..485cb43f2 100644 --- a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp +++ b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp @@ -181,6 +181,7 @@ std::vector<vk::ShaderModule> VKGraphicsPipeline::CreateShaderModules( .pNext = nullptr, .flags = 0, .codeSize = 0, + .pCode = nullptr, }; std::vector<vk::ShaderModule> shader_modules; diff --git a/src/video_core/renderer_vulkan/vk_texture_cache.h b/src/video_core/renderer_vulkan/vk_texture_cache.h index a55d405d1..8d29361a1 100644 --- a/src/video_core/renderer_vulkan/vk_texture_cache.h +++ b/src/video_core/renderer_vulkan/vk_texture_cache.h @@ -72,7 +72,7 @@ struct TextureCacheRuntime { MemoryAllocator& memory_allocator; StagingBufferPool& staging_buffer_pool; BlitImageHelper& blit_image_helper; - std::unordered_map<RenderPassKey, vk::RenderPass> renderpass_cache; + std::unordered_map<RenderPassKey, vk::RenderPass> renderpass_cache{}; void Finish(); |