yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

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 9fc42fffd9
commit 9295966d26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

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