Browse Source

add vertex UnsignedInt size RGBA

pull/15/merge
Nguyen Dac Nam 6 years ago
committed by GitHub
parent
commit
9295966d26
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/video_core/renderer_vulkan/maxwell_to_vk.cpp

2
src/video_core/renderer_vulkan/maxwell_to_vk.cpp

@ -363,6 +363,8 @@ 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_32_32:
return vk::Format::eR32G32B32A32Uint;
default:
break;
}

Loading…
Cancel
Save