summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorKyle Kienapfel <Docteh@users.noreply.github.com>2022-11-11 13:12:37 +0100
committerKyle Kienapfel <Docteh@users.noreply.github.com>2022-11-14 01:30:55 +0100
commit6fa3faec658893c9fae19116232d24dac08babc7 (patch)
tree4e04753b659357d6595fa22766ae305586fd90d4 /src/video_core/renderer_vulkan
parentMerge pull request #9223 from goldenx86/threadcount (diff)
downloadyuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar
yuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar.gz
yuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar.bz2
yuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar.lz
yuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar.xz
yuzu-6fa3faec658893c9fae19116232d24dac08babc7.tar.zst
yuzu-6fa3faec658893c9fae19116232d24dac08babc7.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) {