summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-11-18 01:20:18 +0100
committerGitHub <noreply@github.com>2022-11-18 01:20:18 +0100
commite5a446a0df56d447e94c9afa98d52ff576a1aa66 (patch)
treec0770bffcff6edb00c8ab503a719d3b7ab8a037e /src/video_core/renderer_vulkan
parentMerge pull request #9228 from HidroSaphire/patch-1 (diff)
parentAdd break for default cases (diff)
downloadyuzu-e5a446a0df56d447e94c9afa98d52ff576a1aa66.tar
yuzu-e5a446a0df56d447e94c9afa98d52ff576a1aa66.tar.gz
yuzu-e5a446a0df56d447e94c9afa98d52ff576a1aa66.tar.bz2
yuzu-e5a446a0df56d447e94c9afa98d52ff576a1aa66.tar.lz
yuzu-e5a446a0df56d447e94c9afa98d52ff576a1aa66.tar.xz
yuzu-e5a446a0df56d447e94c9afa98d52ff576a1aa66.tar.zst
yuzu-e5a446a0df56d447e94c9afa98d52ff576a1aa66.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_scheduler.cpp1
-rw-r--r--src/video_core/renderer_vulkan/vk_texture_cache.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_scheduler.cpp b/src/video_core/renderer_vulkan/vk_scheduler.cpp
index 7934f2a51..4a7b633b7 100644
--- a/src/video_core/renderer_vulkan/vk_scheduler.cpp
+++ b/src/video_core/renderer_vulkan/vk_scheduler.cpp
@@ -221,6 +221,7 @@ void Scheduler::SubmitExecution(VkSemaphore signal_semaphore, VkSemaphore wait_s
[[fallthrough]];
default:
vk::Check(result);
+ break;
}
});
chunk->MarkSubmit();
diff --git a/src/video_core/renderer_vulkan/vk_texture_cache.cpp b/src/video_core/renderer_vulkan/vk_texture_cache.cpp
index 853b80d8a..a65bbeb1c 100644
--- a/src/video_core/renderer_vulkan/vk_texture_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_texture_cache.cpp
@@ -108,6 +108,7 @@ constexpr VkBorderColor ConvertBorderColor(const std::array<float, 4>& color) {
break;
default:
ASSERT_MSG(false, "Invalid surface type");
+ break;
}
}
if (info.storage) {