yuzu-emu
/
yuzu
Archived
1
0
Fork 0

maxwell_to_vk: Add missing breaks

Avoid invalid fallbacks.
This commit is contained in:
ReinUsesLisp 2020-04-15 04:05:33 -03:00
parent 0b132e8cc1
commit b4e43c64c8
1 changed files with 2 additions and 0 deletions

View File

@ -360,6 +360,7 @@ VkFormat VertexFormat(Maxwell::VertexAttribute::Type type, Maxwell::VertexAttrib
default:
break;
}
break;
case Maxwell::VertexAttribute::Type::UnsignedInt:
switch (size) {
case Maxwell::VertexAttribute::Size::Size_8:
@ -381,6 +382,7 @@ VkFormat VertexFormat(Maxwell::VertexAttribute::Type type, Maxwell::VertexAttrib
default:
break;
}
break;
case Maxwell::VertexAttribute::Type::UnsignedScaled:
switch (size) {
case Maxwell::VertexAttribute::Size::Size_8: