Browse Source

Merge pull request #3519 from ReinUsesLisp/int-formats

maxwell_to_vk: Implement RG32 and RGB32 integer vertex formats
nce_cpp
Mat M 6 years ago
committed by GitHub
parent
commit
70d8c1fc9a
  1. 4
      src/video_core/renderer_vulkan/maxwell_to_vk.cpp

4
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:

Loading…
Cancel
Save