summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Mat M2020-03-17 17:26:16 -0400
committerGravatar GitHub2020-03-17 17:26:16 -0400
commit9fdfd58f9f54adc84e3a5eb414d190b0d0919fda (patch)
tree62dea144da0ab5236fe8c2f3fff7acaef15b05bf
parentMerge pull request #3498 from ReinUsesLisp/texel-fetch-glsl (diff)
parentmaxwell_to_vk: Implement RG32 and RGB32 integer vertex formats (diff)
downloadyuzu-9fdfd58f9f54adc84e3a5eb414d190b0d0919fda.tar.gz
yuzu-9fdfd58f9f54adc84e3a5eb414d190b0d0919fda.tar.xz
yuzu-9fdfd58f9f54adc84e3a5eb414d190b0d0919fda.zip
Merge pull request #3519 from ReinUsesLisp/int-formats
maxwell_to_vk: Implement RG32 and RGB32 integer vertex formats
-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
367 return vk::Format::eR8G8B8A8Uint; 367 return vk::Format::eR8G8B8A8Uint;
368 case Maxwell::VertexAttribute::Size::Size_32: 368 case Maxwell::VertexAttribute::Size::Size_32:
369 return vk::Format::eR32Uint; 369 return vk::Format::eR32Uint;
370 case Maxwell::VertexAttribute::Size::Size_32_32:
371 return vk::Format::eR32G32Uint;
372 case Maxwell::VertexAttribute::Size::Size_32_32_32:
373 return vk::Format::eR32G32B32Uint;
370 case Maxwell::VertexAttribute::Size::Size_32_32_32_32: 374 case Maxwell::VertexAttribute::Size::Size_32_32_32_32:
371 return vk::Format::eR32G32B32A32Uint; 375 return vk::Format::eR32G32B32A32Uint;
372 default: 376 default: