diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-12-25 07:11:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-25 07:11:47 +0100 |
commit | 0dc4ab42cc1efba566d428c84221a82ef5c76283 (patch) | |
tree | 10496fe2792e167f325c926a6204f021452dd228 /src/video_core | |
parent | Merge pull request #5225 from ReinUsesLisp/always-vulkan (diff) | |
parent | video_core: Enforce C4715 (not all control paths return a value) (diff) | |
download | yuzu-0dc4ab42cc1efba566d428c84221a82ef5c76283.tar yuzu-0dc4ab42cc1efba566d428c84221a82ef5c76283.tar.gz yuzu-0dc4ab42cc1efba566d428c84221a82ef5c76283.tar.bz2 yuzu-0dc4ab42cc1efba566d428c84221a82ef5c76283.tar.lz yuzu-0dc4ab42cc1efba566d428c84221a82ef5c76283.tar.xz yuzu-0dc4ab42cc1efba566d428c84221a82ef5c76283.tar.zst yuzu-0dc4ab42cc1efba566d428c84221a82ef5c76283.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/video_core/renderer_vulkan/vk_shader_decompiler.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt index 26db24d0f..5b73724ce 100644 --- a/src/video_core/CMakeLists.txt +++ b/src/video_core/CMakeLists.txt @@ -294,6 +294,7 @@ if (MSVC) /we4457 # Declaration of 'identifier' hides function parameter /we4458 # Declaration of 'identifier' hides class member /we4459 # Declaration of 'identifier' hides global declaration + /we4715 # 'function' : not all control paths return a value ) else() target_compile_options(video_core PRIVATE diff --git a/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp b/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp index ca12b3793..72954d0e3 100644 --- a/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp +++ b/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp @@ -2094,6 +2094,7 @@ private: return OpFOrdGreaterThanEqual(t_bool, operand_1, operand_2); default: UNREACHABLE(); + return v_true; } } |