summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2020-03-17 22:26:16 +0100
committerGitHub <noreply@github.com>2020-03-17 22:26:16 +0100
commit9fdfd58f9f54adc84e3a5eb414d190b0d0919fda (patch)
tree62dea144da0ab5236fe8c2f3fff7acaef15b05bf /src
parentMerge pull request #3498 from ReinUsesLisp/texel-fetch-glsl (diff)
parentmaxwell_to_vk: Implement RG32 and RGB32 integer vertex formats (diff)
downloadyuzu-9fdfd58f9f54adc84e3a5eb414d190b0d0919fda.tar
yuzu-9fdfd58f9f54adc84e3a5eb414d190b0d0919fda.tar.gz
yuzu-9fdfd58f9f54adc84e3a5eb414d190b0d0919fda.tar.bz2
yuzu-9fdfd58f9f54adc84e3a5eb414d190b0d0919fda.tar.lz
yuzu-9fdfd58f9f54adc84e3a5eb414d190b0d0919fda.tar.xz
yuzu-9fdfd58f9f54adc84e3a5eb414d190b0d0919fda.tar.zst
yuzu-9fdfd58f9f54adc84e3a5eb414d190b0d0919fda.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_vulkan/maxwell_to_vk.cpp4
1 files changed, 4 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 59e963263..0e2e5e6c7 100644
--- a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
+++ b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
@@ -367,6 +367,10 @@ vk::Format VertexFormat(Maxwell::VertexAttribute::Type type, Maxwell::VertexAttr
return vk::Format::eR8G8B8A8Uint;
case Maxwell::VertexAttribute::Size::Size_32:
return vk::Format::eR32Uint;
+ case Maxwell::VertexAttribute::Size::Size_32_32:
+ return vk::Format::eR32G32Uint;
+ case Maxwell::VertexAttribute::Size::Size_32_32_32:
+ return vk::Format::eR32G32B32Uint;
case Maxwell::VertexAttribute::Size::Size_32_32_32_32:
return vk::Format::eR32G32B32A32Uint;
default: