Browse Source

add vertex UnsignedInt size RGBA

nce_cpp
Nguyen Dac Nam 6 years ago
committed by GitHub
parent
commit
af67c90eca
  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; return vk::Format::eR8G8B8A8Uint;
case Maxwell::VertexAttribute::Size::Size_32: case Maxwell::VertexAttribute::Size::Size_32:
return vk::Format::eR32Uint; return vk::Format::eR32Uint;
case Maxwell::VertexAttribute::Size::Size_32_32_32_32:
return vk::Format::eR32G32B32A32Uint;
default: default:
break; break;
} }

Loading…
Cancel
Save