diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-04-03 09:33:36 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-04-18 20:54:39 +0200 |
commit | fbe8d1ceaa94c70e13a575f774967e559d0dee72 (patch) | |
tree | 50f2bca6610784444cc3b75fd2c88eac553e1075 /src/video_core/renderer_vulkan | |
parent | Merge pull request #2378 from lioncash/ro (diff) | |
download | yuzu-fbe8d1ceaa94c70e13a575f774967e559d0dee72.tar yuzu-fbe8d1ceaa94c70e13a575f774967e559d0dee72.tar.gz yuzu-fbe8d1ceaa94c70e13a575f774967e559d0dee72.tar.bz2 yuzu-fbe8d1ceaa94c70e13a575f774967e559d0dee72.tar.lz yuzu-fbe8d1ceaa94c70e13a575f774967e559d0dee72.tar.xz yuzu-fbe8d1ceaa94c70e13a575f774967e559d0dee72.tar.zst yuzu-fbe8d1ceaa94c70e13a575f774967e559d0dee72.zip |
Diffstat (limited to '')
-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) { |