diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-12-30 20:17:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-30 20:17:01 +0100 |
commit | dab7711524f85c824ce4cdcfb453ba5310c4dacb (patch) | |
tree | 21d7f3f935dcb7800db8390a4b08d9d33a8348ed /src | |
parent | Merge pull request #5251 from ReinUsesLisp/wuninitialized (diff) | |
parent | maxwell_to_vk: Initialize usage variable in SurfaceFormat() (diff) | |
download | yuzu-dab7711524f85c824ce4cdcfb453ba5310c4dacb.tar yuzu-dab7711524f85c824ce4cdcfb453ba5310c4dacb.tar.gz yuzu-dab7711524f85c824ce4cdcfb453ba5310c4dacb.tar.bz2 yuzu-dab7711524f85c824ce4cdcfb453ba5310c4dacb.tar.lz yuzu-dab7711524f85c824ce4cdcfb453ba5310c4dacb.tar.xz yuzu-dab7711524f85c824ce4cdcfb453ba5310c4dacb.tar.zst yuzu-dab7711524f85c824ce4cdcfb453ba5310c4dacb.zip |
Diffstat (limited to 'src')
-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 = |