summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-03-16 01:21:38 +0100
committerGitHub <noreply@github.com>2020-03-16 01:21:38 +0100
commitd64edf21bbb5ebebeb1f71d8b6e0367790dd25a3 (patch)
treeea4f65111c6b8db6f8ab597c0d5fbc546d780101 /src/video_core
parentMerge pull request #3512 from bunnei/fix-renderdoc (diff)
parentfix formatting (diff)
downloadyuzu-d64edf21bbb5ebebeb1f71d8b6e0367790dd25a3.tar
yuzu-d64edf21bbb5ebebeb1f71d8b6e0367790dd25a3.tar.gz
yuzu-d64edf21bbb5ebebeb1f71d8b6e0367790dd25a3.tar.bz2
yuzu-d64edf21bbb5ebebeb1f71d8b6e0367790dd25a3.tar.lz
yuzu-d64edf21bbb5ebebeb1f71d8b6e0367790dd25a3.tar.xz
yuzu-d64edf21bbb5ebebeb1f71d8b6e0367790dd25a3.tar.zst
yuzu-d64edf21bbb5ebebeb1f71d8b6e0367790dd25a3.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_vulkan/maxwell_to_vk.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
index df3ac707c..0bab5d1c0 100644
--- a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
+++ b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
@@ -331,6 +331,8 @@ vk::Format VertexFormat(Maxwell::VertexAttribute::Type type, Maxwell::VertexAttr
return vk::Format::eR16G16B16Unorm;
case Maxwell::VertexAttribute::Size::Size_16_16_16_16:
return vk::Format::eR16G16B16A16Unorm;
+ case Maxwell::VertexAttribute::Size::Size_10_10_10_2:
+ return vk::Format::eA2B10G10R10UnormPack32;
default:
break;
}