add vertex UnsignedInt size RGBA

This commit is contained in:
Nguyen Dac Nam 2020-02-18 21:52:51 +07:00 committed by GitHub
parent 2058556671
commit af67c90eca

View file

@ -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;
} }