diff options
author | bunnei <bunneidev@gmail.com> | 2019-04-29 04:24:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-29 04:24:58 +0200 |
commit | c52233ec8b26d5dc8cdca746fc181191c99fb33b (patch) | |
tree | 9d56a04c21f541570426042e74c7befe6b279317 /src/video_core/renderer_vulkan | |
parent | Merge pull request #2423 from FernandoS27/half-correct (diff) | |
parent | video_core: Silent -Wswitch warnings (diff) | |
download | yuzu-c52233ec8b26d5dc8cdca746fc181191c99fb33b.tar yuzu-c52233ec8b26d5dc8cdca746fc181191c99fb33b.tar.gz yuzu-c52233ec8b26d5dc8cdca746fc181191c99fb33b.tar.bz2 yuzu-c52233ec8b26d5dc8cdca746fc181191c99fb33b.tar.lz yuzu-c52233ec8b26d5dc8cdca746fc181191c99fb33b.tar.xz yuzu-c52233ec8b26d5dc8cdca746fc181191c99fb33b.tar.zst yuzu-c52233ec8b26d5dc8cdca746fc181191c99fb33b.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r-- | src/video_core/renderer_vulkan/maxwell_to_vk.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp index 34bf26ff2..9fe1e3280 100644 --- a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp +++ b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp @@ -62,9 +62,10 @@ vk::SamplerAddressMode WrapMode(Tegra::Texture::WrapMode wrap_mode) { case Tegra::Texture::WrapMode::MirrorOnceBorder: UNIMPLEMENTED(); return vk::SamplerAddressMode::eMirrorClampToEdge; + default: + UNIMPLEMENTED_MSG("Unimplemented wrap mode={}", static_cast<u32>(wrap_mode)); + return {}; } - UNIMPLEMENTED_MSG("Unimplemented wrap mode={}", static_cast<u32>(wrap_mode)); - return {}; } vk::CompareOp DepthCompareFunction(Tegra::Texture::DepthCompareFunc depth_compare_func) { @@ -225,9 +226,10 @@ vk::PrimitiveTopology PrimitiveTopology(Maxwell::PrimitiveTopology topology) { return vk::PrimitiveTopology::eTriangleList; case Maxwell::PrimitiveTopology::TriangleStrip: return vk::PrimitiveTopology::eTriangleStrip; + default: + UNIMPLEMENTED_MSG("Unimplemented topology={}", static_cast<u32>(topology)); + return {}; } - UNIMPLEMENTED_MSG("Unimplemented topology={}", static_cast<u32>(topology)); - return {}; } vk::Format VertexFormat(Maxwell::VertexAttribute::Type type, Maxwell::VertexAttribute::Size size) { |