diff options
author | Lioncash <mathew1800@gmail.com> | 2020-12-30 19:24:59 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-12-30 19:25:03 +0100 |
commit | f0d9ab0717b5148b5d3569af96333ca69bc46272 (patch) | |
tree | 21d7f3f935dcb7800db8390a4b08d9d33a8348ed /src/video_core/renderer_vulkan | |
parent | Merge pull request #5251 from ReinUsesLisp/wuninitialized (diff) | |
download | yuzu-f0d9ab0717b5148b5d3569af96333ca69bc46272.tar yuzu-f0d9ab0717b5148b5d3569af96333ca69bc46272.tar.gz yuzu-f0d9ab0717b5148b5d3569af96333ca69bc46272.tar.bz2 yuzu-f0d9ab0717b5148b5d3569af96333ca69bc46272.tar.lz yuzu-f0d9ab0717b5148b5d3569af96333ca69bc46272.tar.xz yuzu-f0d9ab0717b5148b5d3569af96333ca69bc46272.tar.zst yuzu-f0d9ab0717b5148b5d3569af96333ca69bc46272.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r-- | src/video_core/renderer_vulkan/maxwell_to_vk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp index 40501e7fa..4c988429f 100644 --- a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp +++ b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp @@ -239,7 +239,7 @@ FormatInfo SurfaceFormat(const VKDevice& device, FormatType format_type, PixelFo const bool attachable = tuple.usage & Attachable; const bool storage = tuple.usage & Storage; - VkFormatFeatureFlags usage; + VkFormatFeatureFlags usage{}; switch (format_type) { case FormatType::Buffer: usage = |