Browse Source

maxwell_to_vk: Implement RG32 and RGB32 integer vertex formats

nce_cpp
ReinUsesLisp 6 years ago
parent
commit
90b246ce5c
  1. 4
      src/video_core/renderer_vulkan/maxwell_to_vk.cpp

4
src/video_core/renderer_vulkan/maxwell_to_vk.cpp

@ -364,6 +364,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