summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormakigumo <makigumo@users.noreply.github.com>2020-03-13 11:26:13 +0100
committerGitHub <noreply@github.com>2020-03-13 11:26:13 +0100
commit54681909be764b72646427373f55b3a11caa2517 (patch)
treea69d60e5991349119fd9ce1c7c73e76356e350c6 /src
parent00e9ba06039e92b3f62778c2776005fab0ef29e3 (diff)
maxwell_to_vk: add vertex format eA2B10G10R10UnormPack32
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_vulkan/maxwell_to_vk.cpp4
1 files changed, 3 insertions, 1 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..a89139589 100644
--- a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
+++ b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
@@ -331,7 +331,9 @@ 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;
- default:
+ case Maxwell::VertexAttribute::Size::Size_10_10_10_2:
+ return vk::Format::eA2B10G10R10UnormPack32;
+ default:
break;
}
break;